mguessan / o365psauth

O365 powershell authentication
2 stars 0 forks source link

Downloads

o365psauth

Powershell script to initiate Office 365 (Microsoft 365) authentication

Description

Script goal is to let user proceed with O365 authentication, including MFA, and retrieve the OIDC code that can be later used to obtain an OIDC token.

The powershell script is based on WebView2 embedded browser implementation. Usage:

Prerequisites

Just retrieve the script and WebView2 runtime from https://github.com/mguessan/o365psauth or use the script with a locally installed runtime, see https://developer.microsoft.com/en-us/microsoft-edge/webview2

Build

Nothing to build, this is just a script

Reference

https://gist.github.com/COFFEETALES

https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core