Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Audience https://api.fabric.microsoft.com/ is not a supported MSI token audience. #527

Open
Tonychen0227 opened this issue Feb 28, 2025 · 0 comments
Labels
bug Something isn't working Triage-needed Triage needed by Cloud Shell team

Comments

@Tonychen0227
Copy link

To Reproduce

az extension add --name serviceconnector-passwordless --upgrade
az webapp connection create fabric-sql --connection fabricsql_9343df --source-id /subscriptions/937bc588-a144-4083-8612-5f9ffbbddb14/resourceGroups/rg-Test/providers/Microsoft.Web/sites/FabricDemo --target-id https://api.fabric.microsoft.com/v1/workspaces/6fb24b6c-6d5e-4533-91e7-1cc745b8b0f4/SqlDatabases/92f30990-7ba7-426c-a98d-c7a7565b81d2 --client-type dotnet --system-identity --connstr-props Server=x6eps4xrq2xudenlfv6naeo3i4-nrf3e326nuzulephdtdulofq6q.msit-database.fabric.microsoft.com,1433 Database=TonyFabric-92f30990-7ba7-426c-a98d-c7a7565b81d2

Observed Behavior

Audience https://api.fabric.microsoft.com/ is not a supported MSI token audience.

Expected behavior

Token requested by the extension is successfully retrieved.

Is this specific to Cloud Shell?

Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example,
by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with,
not in Cloud Shell. Please file the issue with the appropriate project.

This works in normal CLI, not in cloud shell.

Interface information

How are you accessing Cloud Shell - https://shell.azure.com, https://portal.azure.com, via Windows Terminal, or some other method?
If a browser, which Operating System and browser are you using? (ex. Edge on Windows 10)

Edge on Windows 11

Additional context

Resource setup required to reproduce.

@Tonychen0227 Tonychen0227 added bug Something isn't working Triage-needed Triage needed by Cloud Shell team labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Triage-needed Triage needed by Cloud Shell team
Projects
None yet
Development

No branches or pull requests

1 participant