In the company I'm at now, I've build a few powerapps that I am, consequently, the owner of. I'm soon leaving the place, and I'd like to transfer ownership to someone else. However, when running "set-adminpowerappowner" I get the error:
VERBOSE: Status Code: 'BadRequest'. Message: 'The request failed with error: 'Invalid GUID specified.'. The tracking Id
is ...
I can run other commandlets (for example, get-powerapp works fine). Any idea what the problem may be?
@Anonymous
To perform the administration operations in the admin cmdlets, you'll need the following:
Office 365 Global admins or Azure Active Directory Global admins no longer require a P2 license for administrative access to the PowerApps admin PowerShell cmdlets. However, these administrators need to sign in to the PowerApps Admin Center at least once before using the PowerShell cmdlets. If this is not done, the cmdlets will fail with an authorization error.
Office 365 Global Administrator or Azure Active Directory Global Administrator permissions if you need to search through another user’s resources. (Note that Environment Admins only have access to those environments and environment resources for which they have permissions.)
As an alternative workaround, in CoE StarterKit, there is a 'Set New Owner App' that you can assign a new owner for Apps.
Sik
This is probably to late for the OP, but in case anyone else finds this through google:
I had the same Issue and fixed it by using objectID of new owner instead of email address :).
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
1 |
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |