Azure Cloud Shell Stuck in Instantiation - azure

I have signed up for the Microsoft Sandbox. It worked fine for once but now the Cloud Shell is not opening at all in the MS Concierge Subscription. Getting the attached error. Trying to follow this - https://learn.microsoft.com/en-us/learn/modules/run-docker-with-azure-container-instances/2-run-aci
If I go into the subscription, I get this - Something went wrong...
The client with application Id '604c1504-c6a3-4080-81aa-b33091104187' is not permitted to access this API.
Also, on the Docs page, I just keep seeing this --
Azure Cloud Shell
Configuring Cloud Shell for sandbox access...
It worked fine for the first time but after that, it hasn't been working at all.
Please do note that this subscription is not owned by me and is maintained by MS for the sandbox stuff which is part of the Microsoft Learn program. Subscription ID - a67eb823-344a-4ddd-8346-ebe028190ccc
Thanks,
Pranav

After having a try with the link you posted, the Microsoft Sandbox works well for me. And the subscription that you have shown is not only owned you. I think it's for all the people who are here to learn. The result with the screenshots is here.
So the Microsoft Sandbox is OK. Maybe you can restart the cloud shell with the button on its left top or flush the browser. And you can also check if "Sandbox activated!" shows in the page.

Related

Microsoft learn by loading every modules i got this error : "Unauthorized Sandbox use detected. Your sandbox has been terminated."

since 3 days, my "Microsoft Learn" account can not load azure sandbox anymore, I got this error message:
Unauthorized Sandbox use detected. Your sandbox has been terminated.
Actually, I did nothing, but visit a module called "Secure your Azure resources with role-based access control (RBAC)" in MSLEARN. in this module, by loading sandbox, it shows a different message, unlike other modules, i.e. "Loading Azure Portal...". afterwards, I find out my account does not work anymore.
In order to check this problem only for my account is, I have created another account, it works well.
I think my account has some problem, regarding my using. i did not find an answer in FAQ from Microsoft Learn
MS is currently resolving "abuse" of MS Learn resources, by crashing everything. You'll see other errors like:
no resources available...
policy denied...
...
New: I created another MS account and it works well. So it seems that MS has introduced some kind of quota per user usage of their MS learn sandboxes... Very stupid indeed, I'd like to pass tutorials at least with my Azure subscription, and now I can't mark tutorials complete and track the learning progress...

Azure sign in not working using Azure Tools option in VSCode

I installed the Azure Tools plugin (version: 0.0.4) for VSCode (version: 1.27.2). I have no proxy setting in my system. I validated it by running the command in cmd : netsh winhttp show proxy and found
Direct access (no proxy server).
I tried to login into Azure using the Azure Tools option present in the side bar, which caused a pop up to open at the bottom right corner. I clicked on the button with Copy and Open option which opened a browser instance where I copied the password details, post which when I came back to the VSCode window and then I see that I am still not logged in. I tried the above process multiple times but see the same again and again.
Can anyone help me to get some guidance on this to fix the issue?
I had a similar problem and for me was the latest Azure Account plugin version 0.9.10. It doesn't work.
I reinstalled the previous version 0.9.9 and now the login works again.
I can't reproduce it with Azure Account extension (0.4.3) for VSCode (version: 1.27.2).
If azure cli is installed, please have a try to use az login to check whether it can login. If you can login with az command then close the VS code and open it to try again.
I had a similar problem.
I am a member of several tenants for various orgs.
By updating my tenant Id in the Azure Account extension settings I was able to sign in.
I suspect I will have to update it when I want to work in a subscription owned by another tenant.
I ran into a similar issue when trying to login and extract an API from API management. Using Azure Sign In or Azure Login would open up the popup but the callback URL would not trigger a sign in VS Code. I tried everything to the point of reinstalling VS Code.
After messing around with the different Azure Sign In options, I finally got an error when trying to sign in to Azure Cloud. The error mentioned that my admin requires the use of a device code. Unfortunately this error is neither shown nor handled when using the default Azure Sign In command.
The fix for me was to expressly sign in using Azure Sign In with Device Code.
I can reproduce, It does not work on Ubuntu,
no matter what I do.
I gave up, and moved to windows.
So 1:0 for Microsoft :-)
If something does not work with Azure:
try with windows
try with Edge
Its painful truth - they only support software they already own. Which make sense business-wise.

Can't change SPN addresses for SuccessFactors gallery app in Azure

Prehistory is the following:
We use cloud SAP SuccessFactors app. We publish it for our users via Azure enterprise apps with SAML SSO configured with SAP support. And till last week everything worked good.
But this week we faced with the problem. SSO stopped working and started to redirect to old test link. We used SAML debugger add-in in chrome and we see this wrong redirection.
I struggled with Azure PowerShell and finally found that old link among others in SPN addresses list.
I used this command
(Get-MsolServicePrincipal -ObjectId "_our app objectid_").Addresses
BUT
I can not correct this list. If I try to create an array of such objects and then
Set-MsolServicePrincipal - Addresses $array
I get an invalid syntax error.
Maybe some PowerShell guru is watching and can guide or paste some idea I would be so much appreciated.
MS support in India says NO. Impossible to change Addresses for gallery apps.
SAP support say just delete this app and create from scratch.

"An error has occured" when opening a bot on Azure bot service

I have developed a bot directly online on Azure bot service during the free trial.
Now the trial is expired and I would like to download my code as depicted here (from the documentation):
But I actually cannot even access this page anymore.
When I click on my bot:
I directly go to blank page (but still with the black surrounding and icons) with this error:
I don't think it is a deployment problem because I've never deployed it from outside. All has been coded from the webapp.
Can you try accessing your bot via kudu? To do so, visit https://your-bot-name.scm.azurewebsites.net
If you can, select CMD from the Debug console menu on the top, and then navigate to "site". Finally download the whole wwwroot folder.
It might not work, because your subscription has expired, but worth a try.
There was a temporary issue with Bot Service bots last month (those created in the Azure Portal). It has since been fixed. However, if you created your bot during the time the issue was in place: the portal can become disconnected from the code. Here is how you can retrieve it:
Please download the Azure Storage Explorer from here: http://storageexplorer.com/
Login, and navigate to your resource group's Storage Account. When you open it, you'll see File Shares. There you'll find the source for your bot.
You could also access the source files via Kudu console: http://dotnetthoughts.net/using-kudu-with-microsoft-azure-web-apps/

Azure Tools for VS - can't sign in to subscription

I'm having a pretty strange issue with Azure tools for VS 2013 (version 2.6). Whenever I try to sign in to my Azure subscription (e.g. from Server explorer or creating a new web role project) I get the following error:
Server Explorer
An error occurred during the sign in process: User 'foo#gmail.com' returned by service does not match user 'bar#outlook.com' in the request
OK
My subscription owned by 'bar#outlook.com' and I can perfectly fine sign in either to management portal in a browser (IE, Spartan and Chrome) - as well as in the Power Shell. Tried everything - cleaning up browser caches/cookies, resetting IE settings, playing with different IE security settings - nothign works.
Any help is appreciated - this issue drives me crazy.
P.S. I'm on Windows 10...
I had the same problem. Imported the certificate manually and everything worked ok: https://social.technet.microsoft.com/Forums/en-US/9cdafeb4-f459-436d-b2b8-9bc5c01f0df1/azure-tools-for-vs-cant-sign-in-to-subscription?forum=windowsazuredevelopment
I had this issue, to resolve it I:
Added 'foo#gmail.com' as an alias in my 'bar#outlook.com' Microsoft account, via account.live.com
Made the 'foo#gmail.com' email address the primary alias for my Microsoft account
I could then log in successfully in to Azure by pressing the Connect to Microsoft Azure button in the toolbar of the Server Explorer in Visual Studio 2013 and see all of my websites under the App Service node.
(When I'd used the certificate method described in the other post and Microsoft documentation I'd been able to see all my sql databases etc. but not the websites.)
Once I'd done all that I then switched my primary alias back to 'bar#outlook.com' and server explorer carried on working.
NB: If you're experimenting with this beware that there is a limit on how many times you can switch your primary.. as I have just discovered.. and now my primary is stuck on the wrong email address for a week.
NB2: If your connecting in order to be able to remote debug the website, then this can still be done by going to Visual Studio>Main Menu>Debug>Attach To Process, and then enter the URL of the site (without the http bit, e.g. mysite.azurewebsites.net) as the Qualifier and then attach to the w3wp.exe process.
I am having the exact same issue. It seems that the Azure sign-in in Visual Studio is redirecting to our organizational Single Sign-On instead of the Microsoft one. I have managed to work around this problem by using a Microsoft account that is not tied to my organization:
Create new Microsoft account or use an existing account not associated with your organization
In https://manage.windowsazure.com select Subscriptions/Manage Administrators
Choose Add+ and add the new Microsoft account as administrator to your subscription
Log on to Azure using the new account from Visual Studio
/Morten
I changed my Microsoft account's email address and had this problem. Adding an alias did not help.
The problem is to do with the Azure Active Directory Library for DotNet. For whatever dumb reason, they throw an exception when Azure returns an ID different than the one requested (if the server isn't crying about it, why make up an error and make the client deal with it?).
Since Azures's support was no help, I had to build a custom copy of the ADAL with that moronic exception removed and an assembly version matching the one used in VS2013 (2.11). Also importantly, disable strong name verification for the custom assembly.

Resources