M365Login
Alias:M365Login
Output:Unit
Login to M365. You do not need to do this.
Parameter | Type | Required | Position | Default Value | Summary |
---|---|---|---|---|---|
HandleLogin | entity | Not set | How to handle the login url and code. The function takes an entity with the all the relevant properties, particularly 'VerificationUri' and 'UserCode' If neither this nor the Token is set, the token and code will be logged. | ||
Token | string | Not set | The access token. If this is not set, the user must authenticate the login by going to https://login.microsoftonline.com/common/oauth2/deviceauth and entering the code which is logged. |