CMG Setup – Error when granting Contributor permission to the Azure AD app

Error occurred when granting Contributor permission to the Azure AD app for the resource group <Resource Group >. For more information see SmsAdminUI.log

CMG Setup Error | Contributor permission

SmsAdminUI.log : You will find the following details in SmsAdminUI.log file located in %ProgramFiles%\Microsoft Configuration Manager\AdminConsole folder.

[16, PID:3448][04/29/2021 15:54:18] :Hyak.Common.CloudException\r\nInvalidAuthenticationTokenTenant: The access token is from the wrong issuer 'https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/'. It must match the tenant 'https://sts.windows.net/e6d66549-5275-4d02-89d4-c9f495bae48b/' associated with this subscription. Please use the authority (URL) 'https://login.windows.net/e6d66549-5275-4d02-89d4-c9f495bae48b' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later.\r\n at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

SCCM CMG Setup | Contributor Permission

The Azure Activity Log shows the following errors. I recalled that during setup, I selected the US-East region and mistakenly selected a resource group located in India. The setup failed, and I rectified the issue next time; however, I continued to get the same error.

Solution: I could not figure out why this issue was happening or if the wrong region/resource group selection was the reason behind this. The Google search shows that many others have also faced this issue; however, no real reasons were documented. As suggested in some blogs, I simply closed and re-launched MECM console and started the CMG setup again. It’s worked fine this time without any issue.

Others mentioned that they have waited for a few hours, and after that it’s worked fine for them.

Related Posts:

Subscribe to Techuisitive Newsletter

Be the first to know about our new blog posts. Get our newsletters directly in your inbox and stay up to date about Modern Desktop Management technologies & news.

Scroll to Top