Piotr Stapp
Piotr Stapp

Reputation: 19828

How to edit azure service principal manifest from command line

I would like to change azure service principal groupMembershipClaims property from command line. I check already

Am I blind or what? Is there any way to do this without Azure portal and manual clicking?

Upvotes: 0

Views: 1246

Answers (2)

Stéphane
Stéphane

Reputation: 11904

using azure cli as documented here : az ad app update --id <appId> --set groupMembershipClaims=All

Upvotes: 0

juunas
juunas

Reputation: 58918

You can do this with Azure AD v2 cmdlets: https://learn.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0

Set-AzureAdApplication -ObjectId xxx -GroupMembershipClaims 'All'

Upvotes: 1

Related Questions