microsoft / dev-tunnels

Dev Tunnels SDK
MIT License
286 stars 20 forks source link

AADSTS100007 Only managed identities and Microsoft internal service identities are supported. SN+I authentication is required. #443

Closed wenytang-ms closed 4 months ago

wenytang-ms commented 4 months ago

hi team, we are using devtunnel and login with service principal, It worked very well before, but I encountered this problem in the past two days. it says. AADSTS100007: This request was received by an Azure AD regional authentication endpoint. Only managed identities and Microsoft internal service identities are supported. SN+I authentication is required. All others, send your request to login.microsoftonline.com: in MSAL avoid using .WithAzureRegion(), in App Service, set REGION_NAME to null. Trace ID: 91e90831-f471-441b-a391-0372f3469200 Correlation ID: 47966097-b9ae-4a60-a04c-7c0bf5a7108a Timestamp: 2024-05-05 18:06:19Z

is there any solution? does devtunnel support without region check? thanks!

you may visit for more detail: https://github.com/OfficeDev/TeamsFx/actions/runs/8960153003/job/24606344940

wenytang-ms commented 4 months ago

hi team, we switch to an older version https://tunnelsassetsprod.blob.core.windows.net/cli/1.0.1249+67b1cd300c/linux-x64-devtunnel no such error again

wenytang-ms commented 4 months ago

please feel free to close this issue.