Reputation: 3303
I have recently registered an app using the new Microsoft registration portal located at apps.dev.microsoft.com, and it all is working great.
However, I am concerned that this registration is tied to my personal account. I would like to grant access to these app registrations to other members of my team. Is this possible?
Upvotes: 0
Views: 99
Reputation: 14336
It sounds like when you signed in to the App Registration portal, you used your personal Microsoft account, which ties this only to your personal account.
You can do what you want, but you will have to re-register your app using a "work or school" organizational account instead (i.e. Azure AD), and then you can add other users in your organization as additional "owners" of the app.
Use Azure AD PowerShell to add other owners to the Application object. (Note: Normally I would suggest you use the Azure portal's "App registration" functionality for this, but that view currently filters out apps registered in the App Registration portal.)
$AppId = "dc9bc6e6-9893-476f-884f-8bbc1e61f7c5" # <- Your app's Application ID
$OtherUsername = "[email protected]" # <- Other user who should also own the app
Connect-AzureAD # <-- Sign in with your organizational account
$app = Get-AzureADApplication -Filter "appId eq '$AppId'"
$user = Get-AzureADUser -Filter "userPrincipalName eq '$OtherUsername'"
Add-AzureADApplicationOwner -ObjectId $app.ObjectId -RefObjectId $user.ObjectId
Verify that now both you and the new user are owners of the Application object:
Get-AzureADApplicationOwner -ObjectId $app.ObjectId
Now, when the team member you added as an app owner signs in to the App Registration portal (using their organizational account), they will be able to see the app registration.
Upvotes: 2