Closed
Description
Add the following tokens to simplify requests using the m365 request
command:
- @graph resolves to https://graph.microsoft.com/v1.0
- @graphbeta resolves to https://graph.microsoft.com/beta
- @spo resolves to the current SharePoint URL. If the URL is not available the command will fail with an error asking the user to set the URL using
spo set -u <url>
eg:
m365 request -u @graph/me
instead of:
m365 request -u https://graph.microsoft.com/v1.0/me