I'm writing a GUI where a function require a token from Azure. I'm using Get-MsalToken where the user interactively select the account to be used. This works fine if the request starts before the form, but is hidden if called from the form.
Is there a way to force the interactive logon to show while in the form?
Get interactive token using MSAL in form
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.
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.