Get interactive token using MSAL in form

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 forum is a space to discuss coding involving Graphical User Interfaces (GUI) in PowerShell or using WinForms controls, and technical issues related to development.

- Question about a licensed SAPIEN product? Post here: Product Support for Registered Users
- Question about a trial SAPIEN product? Post here: Former and Future Customers - Questions
This topic is 1 year and 1 month 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
User avatar
lasdan
Posts: 1
Last visit: Thu Sep 12, 2024 11:15 pm

Get interactive token using MSAL in form

Post by lasdan »

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?
This topic is 1 year and 1 month 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