Forum Discussion
AndrewX
Feb 26, 2021Iron Contributor
PowerShell delegated auth
Hey question, I want to develop some interactive console PowerShell, using delegated ms graph auth.
I want the user to authenticate or be authenticated and have permissions to only their own Office365 things, ie. email messages.
What is best authentication flow to use?
I want the user to authenticate or be authenticated and have permissions to only their own Office365 things, ie. email messages.
What is best authentication flow to use?
1 Reply
- AndrewXIron ContributorUpdate: I have started hacking and gone with device code. It pops up a browser, stick in a code and boom, rip out the oauth token.
Seems good so far.
Please let me know if I’m making a mistake.