Mathiyazhagan
Mathiyazhagan

Reputation: 1429

Azure AAD Portal registration app manifest unable to update

I have the app registered in Azure AAd app registration. The app was registered as mult tenant. Later i modified this to single tenant by changin the value in manifest Json data as

"signInAudience": "AzureADMyOrg".

But I'm unable to update the "publisherDomain" value since it is null. if i try to update I'm getting the belwo error.

Can anyone tell me how to update this "Publisherdomain" value, otherwise how to change multi tenant app to single tenant (My org only) and what are the chages required to complete?

Error detail: Property 'publisherDomain' is read-only and cannot be set. [UMia4]

Upvotes: 4

Views: 4160

Answers (1)

Rohit Saigal
Rohit Saigal

Reputation: 9664

Easiest way to do change from multi-tenant to single tenant app will be to make use of the UI provided directly in Azure portal itself.

Steps

Azure Portal > Azure Active Directory > App registrations > registration for your application > Authentication > Supported account types

Change from Accounts in any organizational directory to Accounts in this organizational directory only

enter image description here

I tried creating a new app registration marking it as multi-tenant first (i.e. choosing Accounts in any organizational directory for supported account types) and then later changing it single tenant using the same steps from UI. The only change that I saw in app manifest, comparing the two JSON files before and after was the signInAudience changing from AzureADMultipleOrgs to AzureADMyOrg. There was no change in publisherDomain value. I'm not sure why you're trying to update it right now, but if there is a specific reason please mention that.

About the error you're getting currently

As the error message says already, it's a read only property so you will not be able to update the value.

Here is Microsoft Documentation on Azure AD App Manifest - Understanding Azure AD app manifest. Look for publisherDomain.

Upvotes: 2

Related Questions