/ azure-sdk-for-net Public
Azure.Identity.InteractiveBrowserCredential Fails #17696
This issue points to a problem in the data-plane of the library.
Issues that are reported by GitHub users external to the Azure organization.
This issue needs attention from Azure service team or SDK team
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
I'm working on running some queries using Azure Resource Graph with C#. In the process, I'm trying to get a token interactively using the following code:
When the code runs, a browser does open and I can successfully authenticate. However, once done, I run into the following error:
Within the error message, I know that
04b07795-8ddb-461a-bbee-02f9e1bf7b46corresponds to Azure CLI, while
797f4846-ba00-4fd7-ba43-dac1f8f63013maps to Azure Resource Manager. I don't believe that I can grant permissions/consent, as the 2 apps in question belong to Microsoft.
If I do a Fiddler trace, I can see the request below.
The content matches pretty well what's discussed in this issue, only that it's a token for Microsoft Graph there, and one for Azure Resource Manager in my issue.
Is there work still underway to support the interactive login for my scenario, or is it something that I'm messing up on my end?
I'm getting this on both .NET Core 3.1 / .NET 5.
Note that if I'm using
AzureCliCredential, as seen below, things work as expected:
Azure Identity 1.3.0
dotnet --infooutput for .NET Core projects):
Windows 10 .NET Core 3.1.2/
Windows 10 .NET 5.0.1
Visual Studio 16.5.0 Preview 5.0
The text was updated successfully, but these errors were encountered: