You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been constantly encountering this error "You are currently logged-in to XXXX tenant. You don't have access to 4ddf2bc2-XXXXX subscription, please check if it is in this tenant. All the subscriptions that you have access to in this tenant are".
Previous my colleague had this issue in his laptop and he called MS support to resolve this issue by running InteractiveLoginAuthentication(tenant_id="my-tenant-id", force=True) from his laptop ref codes. But this time the same solution did not work for my case.
Now we are having it in production environment where CICD pipelines are running in a hosted agent (as AML workspace is accessible only via private link in a vnet). It is really inconvenient to run InteractiveLoginAuthentication(tenant_id="my-tenant-id", force=True) when subscription id changes. I feel this is a bug and could you help investigate and provide a permanent solution ?
The text was updated successfully, but these errors were encountered:
@chengyu-liu-cs In a CI/CD production environment it makes sense to use ServicePrincipalAuthentication. The InteractiveAuthentication is meant for situations where user can interactively log in to Azure.
See "Service Principal Authentication" section in this notebook:
We haven't received a response to our last comment so assume the above advice resolved it. Should there still be a question, please reopen this issue. Thank you.
Hi
We have been constantly encountering this error
"You are currently logged-in to XXXX tenant. You don't have access to 4ddf2bc2-XXXXX subscription, please check if it is in this tenant. All the subscriptions that you have access to in this tenant are"
.Previous my colleague had this issue in his laptop and he called MS support to resolve this issue by running
InteractiveLoginAuthentication(tenant_id="my-tenant-id", force=True)
from his laptop ref codes. But this time the same solution did not work for my case.It seems this is a common issue
Now we are having it in production environment where CICD pipelines are running in a hosted agent (as AML workspace is accessible only via private link in a vnet). It is really inconvenient to run
InteractiveLoginAuthentication(tenant_id="my-tenant-id", force=True)
when subscription id changes. I feel this is a bug and could you help investigate and provide a permanent solution ?The text was updated successfully, but these errors were encountered: