Skip to content

Conversation

nilakhum
Copy link

@nilakhum nilakhum commented Sep 3, 2025

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)

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)
Copy link
Contributor

@nilakhum : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit c609594:

✅ Validation status: passed

File Status Preview URL Details
intune/configmgr/core/servers/deploy/configure/azure-services-wizard.md ✅Succeeded

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
Copy link
Contributor

Learn Build status updates of commit db4a104:

✅ Validation status: passed

File Status Preview URL Details
intune/configmgr/core/servers/deploy/configure/azure-services-wizard.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants