You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to do: Invoke-MgGraphRequest -URI '/beta/admin/entra/uxSetting' -Method get
I recive this response: Invoke-MgGraphRequest: GET https://graph.microsoft.com/beta/admin/entra/uxSetting
HTTP/2.0 401 Unauthorized
Cache-Control: no-cache
Vary: Accept-Encoding
Strict-Transport-Security: max-age=31536000
request-id: 5d1445b8-a94f-4803-8778-cf7130bb00b9
client-request-id: a548f46e-ac73-410a-9928-242c33d09698
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"France Central","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"PA3PEPF0000082A"}}
Date: Mon, 24 Mar 2025 14:29:56 GMT
Content-Type: application/json
{"error":{"code":"UnknownError","message":"{"ClassName":"System.Security.Authentication.AuthenticationException","Message":"S2S17000: SAL was unable to validate the protocol. Validation failure: 'UnsupportedAuthenticationScheme; ValidationCompleted; MSAuth10AuthenticatorTypeUnknown; UnsupportedAuthenticationScheme'","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233087,"Source":null,"WatsonBuckets":null}","innerError":{"date":"2025-03-24T14:29:56","request-id":"5d1445b8-a94f-4803-8778-cf7130bb00b9","client-request-id":"a548f46e-ac73-410a-9928-242c33d09698"}}}
I do the request with a Global Administrator of Tenant like recommends API md file: In delegated scenarios with work or school accounts, the signed-in user must be assigned the Global AdministratorMicrosoft Entra role.
Expected behavior
HTTP 200 with restrictNonAdminAccess property info
How to reproduce
Connect-MgGraph
(Login interactive with Global Administrator user)
Invoke-MgGraphRequest -URI '/beta/admin/entra/uxSetting' -Method Get
SDK Version
2.26.1
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```
</details>
### Configuration
_No response_
### Other information
_No response_
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to do:
Invoke-MgGraphRequest -URI '/beta/admin/entra/uxSetting' -Method get
I recive this response:
Invoke-MgGraphRequest: GET https://graph.microsoft.com/beta/admin/entra/uxSetting
HTTP/2.0 401 Unauthorized
Cache-Control: no-cache
Vary: Accept-Encoding
Strict-Transport-Security: max-age=31536000
request-id: 5d1445b8-a94f-4803-8778-cf7130bb00b9
client-request-id: a548f46e-ac73-410a-9928-242c33d09698
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"France Central","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"PA3PEPF0000082A"}}
Date: Mon, 24 Mar 2025 14:29:56 GMT
Content-Type: application/json
{"error":{"code":"UnknownError","message":"{"ClassName":"System.Security.Authentication.AuthenticationException","Message":"S2S17000: SAL was unable to validate the protocol. Validation failure: 'UnsupportedAuthenticationScheme; ValidationCompleted; MSAuth10AuthenticatorTypeUnknown; UnsupportedAuthenticationScheme'","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233087,"Source":null,"WatsonBuckets":null}","innerError":{"date":"2025-03-24T14:29:56","request-id":"5d1445b8-a94f-4803-8778-cf7130bb00b9","client-request-id":"a548f46e-ac73-410a-9928-242c33d09698"}}}
I do the request with a Global Administrator of Tenant like recommends API md file:
In delegated scenarios with work or school accounts, the signed-in user must be assigned the Global Administrator Microsoft Entra role.
Expected behavior
HTTP 200 with restrictNonAdminAccess property info
How to reproduce
Connect-MgGraph
(Login interactive with Global Administrator user)
Invoke-MgGraphRequest -URI '/beta/admin/entra/uxSetting' -Method Get
SDK Version
2.26.1
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: