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

context.Subscription.Id mismatch #44

Open
sherzberg opened this issue Mar 3, 2021 · 0 comments
Open

context.Subscription.Id mismatch #44

sherzberg opened this issue Mar 3, 2021 · 0 comments

Comments

@sherzberg
Copy link

I am trying to use the context.Subscription.Id for some of our business logic and logging but have run across what I think is a mismatch in the value and what is shown in the Azure Portal. Using this in my inbound policy:

<set-variable name="debugSubscriptionId" value="@(context.Subscription.Id)" />

I see this in the trace:

Screenshot from 2021-03-02 21-15-04

And this is what the Azure Portal shows:

Screenshot from 2021-03-02 21-17-11

Should the context.Subscription.Id be the /subscriptions/70d926fe..... value? Is anyone using this in a similar way?

I realize maybe Azure support would probably be a better place to put this, but I thought I would start here first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant