Update azure-services-wizard.md#4828
Conversation
We have confirmed from lab test as well as cx in environment. The Privileged Admin role permissions are insufficient to renew secret key in SCCM 2409.
With Global Administrator role permissions secret key gets renewed successfully.
verbose smsadminui.log:
09-03-2025 08:30:37.000 1 (0x1) Executing WQL: 'SELECT Environment,TenantID, Name FROM SMS_AAD_Tenant_Ex WHERE ID = 1'
09-03-2025 08:30:37.000 1 (0x1) Executing WQL: 'select EnvironmentName, ManagementPortalURL , PublishSettingsURL, ServiceManagementEndpoint, ResourceManagerEndpoint, ActiveDirectoryEndpoint, GalleryEndpoint, KeyVaultEndpoint, GraphEndpoint, StorageEndpointSuffix, SQLDatabaseDNSSuffix, TrafficManagerDNSSuffix, KeyVaultDNSSuffix, ServiceBusEndpointSuffix, CloudServiceSuffix, GatewayService, CMMicroServiceResourceEndpoint, MicrosoftGraphEndpoint, MicrosoftGraphAudience, ServiceFabricSuffix from SMS_AzureEnvironments where ID = 1'
09-03-2025 08:30:58.000 35 (0x23) {
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"date": "2025-09-03T12:30:58",
"request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c",
"client-request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c"
}
}
}
09-03-2025 08:30:58.000 1 (0x1) System.Exception
{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"date": "2025-09-03T12:30:58",
"request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c",
"client-request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c"
}
}
}
System.Net.WebException
The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.ConfigurationManagement.AdminConsole.CloudServicesManagement.AAD.AADDataHandler.AddServerAppSecretKey(String objectId, String secretkeyJson)
|
@nilakhum : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit c609594: ✅ Validation status: passed
For more details, please refer to the build report. |
undoing the previous change. Even though this has been tested in lab that Privilege Admin role is insufficient to renew the secret key. Will open a collab with Microsoft Entra team to investigate and will propose to update the doc afterwords
|
Learn Build status updates of commit db4a104: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@nilakhum Hey - This PR has a merge conflict. If it's still needed, can you create a new pull request? We want to make sure you get credit. |
|
Learn Build status updates of commit 11e8366: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit bba14d0: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Hasn't confirmed with SME/internal repro. @nilakhum - if you have specific repro steps, could you create a support ticket? In the meantime, closing the PR. |
We have confirmed from lab test as well as cx in environment. The Privileged Admin role permissions are insufficient to renew secret key in SCCM 2409.
With Global Administrator role permissions secret key gets renewed successfully.
verbose smsadminui.log:
09-03-2025 08:30:37.000 1 (0x1) Executing WQL: 'SELECT Environment,TenantID, Name FROM SMS_AAD_Tenant_Ex WHERE ID = 1'
09-03-2025 08:30:37.000 1 (0x1) Executing WQL: 'select EnvironmentName, ManagementPortalURL , PublishSettingsURL, ServiceManagementEndpoint, ResourceManagerEndpoint, ActiveDirectoryEndpoint, GalleryEndpoint, KeyVaultEndpoint, GraphEndpoint, StorageEndpointSuffix, SQLDatabaseDNSSuffix, TrafficManagerDNSSuffix, KeyVaultDNSSuffix, ServiceBusEndpointSuffix, CloudServiceSuffix, GatewayService, CMMicroServiceResourceEndpoint, MicrosoftGraphEndpoint, MicrosoftGraphAudience, ServiceFabricSuffix from SMS_AzureEnvironments where ID = 1'
09-03-2025 08:30:58.000 35 (0x23) {
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"date": "2025-09-03T12:30:58",
"request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c",
"client-request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c"
}
}
}
09-03-2025 08:30:58.000 1 (0x1) System.Exception
{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"date": "2025-09-03T12:30:58",
"request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c",
"client-request-id": "bac56e2e-d455-445f-9cbc-60ab9e32df9c"
}
}
}
System.Net.WebException
The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.ConfigurationManagement.AdminConsole.CloudServicesManagement.AAD.AADDataHandler.AddServerAppSecretKey(String objectId, String secretkeyJson)