-
Notifications
You must be signed in to change notification settings - Fork 209
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
Provision fails with "[Login.sur]: We couldn't find a subscription.", I am logged in into Azure. #13181
Comments
👋 Hi @andreyselitsky, Thank you for reporting this issue! We want to let you know that: ⏱️ Our team will personally review your issue ✨ This is an AI-generated initial response The error message "[Login.sur]: We couldn't find a subscription" indicates that the Teams Toolkit is unable to find a valid Azure subscription associated with your logged-in account. Here are some steps to troubleshoot and resolve this issue: Steps to Resolve
Additional ResourcesSummaryBy following these steps, you should be able to resolve the issue of not finding an Azure subscription when provisioning your bot. Ensure that you have an active subscription, sign out and back into your Azure account, clear any cached credentials, check your tenant ID, and use the accounts sidebar in VS Code to manage your accounts. If the issue persists after trying these steps, please provide any additional error messages or logs for further assistance.
|
Thanks @andreyselitsky for reporting this to us. Could you help provide following info to locate the root cause? 1> Is your account under single tenant or multiple tenants? Additional info could help like logs in TTK output window and Microsoft Authentication output window. |
I just realized I have just one subscription, which is the Azure Plan Offer (Pay-as-you-Go). Could that be causing this error? |
@andreyselitsky Is the subscription under a MFA-enabled secondary tenant? |
Yes, both under MFA. |
@andreyselitsky If the sub is under non-home tenant, then it's expected behavior to not listed. In that case, TTK fails to find valid subscription. Could you help confirm whether it's in home tenant or not? |
Sorry, I'm not sure I follow. I have an M365 dev tenant (.onmicrosoft.com) with custom app upload for developing copilots and Teams bots, and the subscription is in this tenant. I just installed the Azure Resources extension, and when I run "Azure: Select Subscriptions..." it correctly shows my subscription. |
Duplicated with #13155 |
To Reproduce
Steps to reproduce the behavior:
Screenshots
VS Code Extension Information (please complete the following information):
[email protected]
[email protected] (Universal)
[email protected] (24B2083)
Additional Ctx
The text was updated successfully, but these errors were encountered: