I can't create a new Azure deployment in VS 2022 because there is a problem with the connection login. In the following dialog the login doesn't work:
It seems to be a problem with 2FA, but switching to the system web browser didn't help.
What else can I do?
Thanks for any help!
03/16/2023 16:20:32 Mitteleuropäische Zeit : Error : Attempt 1 to call 'v1.0/me', failed with an error: 'System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)'
03/16/2023 16:20:32 Mitteleuropäische Zeit : Error : Retry count met, for 'v1.0/me' calls, giving up.
03/16/2023 16:20:32 Mitteleuropäische Zeit : Error : Attempt 1 to call '/f8cdef31-a31e-4b4a-93e4-5f571e91255a/me?api-version=1.6', failed with an error: 'System.UnauthorizedAccessException: Unauthorized to access 'https://graph.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/me?api-version=1.6'. Forbidden
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)'
03/16/2023 16:20:33 Mitteleuropäische Zeit : Warning : Token unavailable. Proceeding without token. Exception details: 'Microsoft.Identity.Client.MsalThrottledUiRequiredException: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000002-0000-0000-c000-000000000000'.
Trace ID: 9efac11a-d60e-48a2-b412-61885f191300
Correlation ID: 4ee784d7-65e6-402b-bb10-fcf5878ebf8a
Timestamp: 2023-03-16 15:20:25Z
at void Microsoft.Identity.Client.OAuth2.Throttling.UiRequiredProvider.TryThrowException(string thumbprint, ILoggerAdapter logger)
at void Microsoft.Identity.Client.OAuth2.Throttling.UiRequiredProvider.TryThrottle(AuthenticationRequestParameters requestParams, IReadOnlyDictionary<string, string> bodyParams)
at void Microsoft.Identity.Client.OAuth2.Throttling.SingletonThrottlingManager.TryThrottle(AuthenticationRequestParameters requestParams, IReadOnlyDictionary<string, string> bodyParams)
at async Task<MsalTokenResponse> Microsoft.Identity.Client.OAuth2.TokenClient.SendTokenRequestAsync(IDictionary<string, string> additionalBodyParameters, string scopeOverride, string tokenEndpointOverride, CancellationToken cancellationToken)
at async Task<MsalTokenResponse> Microsoft.Identity.Client.Internal.SilentRequestHelper.RefreshAccessTokenAsync(MsalRefreshTokenCacheItem msalRefreshTokenItem, RequestBase request, AuthenticationRequestParameters authenticationRequestParameters, CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.Internal.Requests.Silent.CacheSilentStrategy.RefreshRtOrFailAsync(CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.Internal.Requests.Silent.CacheSilentStrategy.ExecuteAsync(CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.Internal.Requests.Silent.CacheSilentStrategy.ExecuteAsync(CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.ExecuteAsync(CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.ExecuteAsync(CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)
at async Task<AuthenticationResult> Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.ExecuteAsync(AcquireTokenCommonParameters commonParameters, AcquireTokenSilentParameters silentParameters, CancellationToken cancellationToken)
at async Task<AuthenticationInfo> Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.AcqireTokenSilentAsyncImpl(bool useBroker, string resource, string tenant, UserIdentifier userId, CancellationToken cancellationToken)
at async Task<AuthenticationInfo> Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.AcqireTokenSilentAsyncImpl(bool useBroker, string resource, string tenant, UserIdentifier userId, CancellationToken cancellationToken)
at async Task<AuthenticationInfo> Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.AcquireTokenSilentAsync(string resource, string tenant, UserIdentifier userId, CancellationToken cancellationToken)
at async Task<TenantAndScopeResult> Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderService.GetTenantInfoAndScopeInfoAsync(AuthenticationInfo authInfo, ImmutableArray<ScopeInfo> scopes, bool isMSA, bool promptIfNeeded, string queryParameters, AuthenticationFlowType authenticationFlowType, Dictionary<string, string> additionalAuthProperties, CancellationToken cancellationToken)
03/16/2023 16:20:34 Mitteleuropäische Zeit : Error : Attempt 1 to call 'v1.0/organization/f8cdef31-a31e-4b4a-93e4-5f571e91255a', failed with an error: 'System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)'
03/16/2023 16:20:35 Mitteleuropäische Zeit : Error : Attempt 2 to call 'v1.0/organization/f8cdef31-a31e-4b4a-93e4-5f571e91255a', failed with an error: 'System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)'
03/16/2023 16:20:37 Mitteleuropäische Zeit : Error : Attempt 3 to call 'v1.0/organization/f8cdef31-a31e-4b4a-93e4-5f571e91255a', failed with an error: 'System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)'
03/16/2023 16:20:37 Mitteleuropäische Zeit : Error : Retry count met, for 'v1.0/organization/f8cdef31-a31e-4b4a-93e4-5f571e91255a' calls, giving up.
03/16/2023 16:20:37 Mitteleuropäische Zeit : Error : Failed getting tenant details preferred client exception 'System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)
at async Task<(string displayName, string defaultDomainName)> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.Graph.GraphClient+AbstractGraphClient.GetTenantDetailsAsync(GraphTokenRequestParameters tokenRequestParameters, CancellationToken cancellationToken)
at async Task<(string displayName, string defaultDomainName)> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.Graph.GraphClient.GetTenantDetailsAsync(GraphTokenRequestParameters tokenRequestParameters, CancellationToken cancellationToken)'
03/16/2023 16:20:37 Mitteleuropäische Zeit : Error : Attempt 1 to call '/f8cdef31-a31e-4b4a-93e4-5f571e91255a/tenantDetails?api-version=1.6', failed with an error: 'System.UnauthorizedAccessException: Unauthorized to access 'https://graph.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/tenantDetails?api-version=1.6'. Forbidden
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)'
03/16/2023 16:20:37 Mitteleuropäische Zeit : Error : Failed getting tenant details fallback exception 'System.UnauthorizedAccessException: Unauthorized to access 'https://graph.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/tenantDetails?api-version=1.6'. Forbidden
at async Task<HttpResponseMessage> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.SendAsync(HttpRequestMessage request, ITelemetryOperation telemetryOp, CancellationToken cancellationToken)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)
at async Task<TResult> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.HttpClientWrapper.GetResponseAsync<TResult>(Func<IAadConfiguration, CancellationToken, Task<Uri>> hostProvider, Uri apiUri, GraphTokenRequestParameters authParameters, Func<HttpResponseMessage, Task<TResult>> transformation, ITelemetryOperation telemetryOp, int attemptCount, CancellationToken cancellationToken, string callerName)
at async Task<(string displayName, string defaultDomainName)> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.Graph.GraphClient+AbstractGraphClient.GetTenantDetailsAsync(GraphTokenRequestParameters tokenRequestParameters, CancellationToken cancellationToken)
at async Task<(string displayName, string defaultDomainName)> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.Graph.GraphClient.GetTenantDetailsAsync(GraphTokenRequestParameters tokenRequestParameters, CancellationToken cancellationToken)'
03/16/2023 16:20:37 Mitteleuropäische Zeit : Error : Skipping tenant 'f8cdef31-a31e-4b4a-93e4-5f571e91255a' error getting friendly name: 'System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at async Task<(string displayName, string defaultDomainName)> Microsoft.Developer.IdentityService.AccountProvider.AADAccountProvider.Graph.GraphClient.GetTenantDetailsAsync(GraphTokenRequestParameters tokenRequestParameters, CancellationToken cancellationToken)
at async Task Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderNetworkServicesBase.GetTenantDetailsAsync(TenantInformation partialTenantInfo, AuthenticationInfo authInfo, bool promptIfNeeded, string queryParameters, AuthenticationFlowType authenticationFlowType, Dictionary<string, string> additionalAuthProperties, CancellationToken cancellationToken)
at async Task Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderService.TryGetTenantDetailsAsync(AuthenticationInfo authInfo, bool promptIfNeeded, string queryParameters, AuthenticationFlowType authenticationFlowType, Dictionary<string, string> additionalAuthProperties, List<TenantInformation> tenants, HashSet<MissingTenantInfo> missingTenants, CancellationToken cancellationToken)'