Number of concurrent Azure Powershell Azure session RRS feed

  • Question

  • Hi

    Sorry if this is the wrong forum category, I am still new to the forums.

    I have been developing a web-app designed to allow users to manually start their Azure VMs (to save cost instead of running VMs at additional hours). The user simply enters their machine name and the web-app handles the rest.

    Currently the web-app is hosted using IIS with a C# script calling Azure PowerShell which authenticates with Azure using an encrypted password and then starts the machine.

    My issue is that I am unsure how many people I can allow to use the web-app. i am very inexperienced using IIS but I assume it handles many requests automatically. My main concern is having many PowerShell sessions open at once, all reading from the same encrypted password and using that to authenticate against Azure.  Currently if I make a few requests at once (less than around 7) they will process.   If I open the web-app in many more tabs in my browser and try and start many machines at once, the  PowerShell command Login-AzureRmAccount will throw the error "user_realm_discovery_failed: User realm discovery failed: The remote server returned an error: (407) Proxy Authentication Required." I'm finding this confusing because this only occurs when the web-app gets a lot of requests.


    Monday, December 4, 2017 4:50 AM

All replies

  • Hi TheSoftGamer2,

    Thank you for posting here.

    For your question is more related to IIS, you could post a new thread in IIS forum for suitable support.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions. 

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, December 6, 2017 12:49 AM
  • Thank you Wendy. I will ask in the IIS Forum :)
    Thursday, December 7, 2017 5:59 AM