Generate device code for Microsoft365 Device Authorization Grant flow.

Privileges: PROTECTION_MODIFY

Generates User and Device code for Microsoft365 Device Authorization Grant for a given domain.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Specifies the parameters to generate the user and device code to initiate authentication with Microsoft365.

string | null

Specifies the Microsoft365 domain.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json