Description
Token365 is a command-line tool that allows you to request an OAuth2 ACCESS TOKEN with MS365.
The request can be made with an app protected by certificate authentication or by ‘secret’ (for consuming application rights) or by account/password (for consuming delegate rights).
If you use delegate access,TOKEN365 will show you the ACCESS TOKEN and the REFRESH TOKEN.
TOKEN365 is developed in C# and compiled for Windows/Mac/Linux.
Syntax
--> .NET Version: System.Private.CoreLib, Version=8.0.0.0
--> Program Version: 2.2.0.0
<Mandatory> TenantID: -t or -Tenantid e8a3d399-ki0d-4b85-9f26-xxxxx
<Mandatory> ClientID: -c or -ClientID 2ji0d44d-a616-43bd-956b-xxxxx
<Mandatory> AuthentType: -a or -authentType secret|cert|delegate
<Optional> Use proxy for token request: -p or -ProxyToken http://proxy_name:tcp_port
<Optional> Use a specific scope: -s or -Scope https://graph.microsoft.com/.default
<Mandatory if AuthentType is secret> Secret: -k or -Key AOq8Q~thsdf3zYxkV4BTq1qdsdYWFNdxxxxx
<Mandatory if AuthentType is cert> Pfx file : -x or -Pfx file.pfx
<Mandatory if AuthentType is delegate> login : -l or -Login user@domain.com
Show help: -Help or -h