Logging into Azure

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
SinOfTheDark
Posts: 1
Last visit: Mon Nov 29, 2021 1:59 pm

Logging into Azure

Post by SinOfTheDark »

Hi,

I'm working on a GUI script for some Azure AD modifications utilizing the AzureAD PowerShell module. The problem is, when I use the Connect-AzureAD, it asks you to log in twice. Is there any good way around this, or to securely store the credentials? If not, it's not a big deal but certainly a bit annoying for intended end users.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Logging into Azure

Post by jvierra »

That is required by Azure. You can tokenize your credentials. CHeck the current methods on eh AzureAD developer sites.

Here is the GUI method: https://techcommunity.microsoft.com/t5/ ... a-p/245310

For specific AzureA\D issues you will always be better off in the Azure developer forums and the online documentation. This has been a constantly changing issue and depends on the account type and the Azure module version.
This topic is 2 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked