Currently when I want an accesstoken for Graph I have to run m365 util accesstoken get --resource https://graph.microsoft.com. For SharePoint I can just run m365 util accesstoken get --resource sharepoint. To me it would be useful if we add another named resource for Graph so you can use m365 util accesstoken get --resource graph to get a graph token.
Also noticed that we support sharepoint as resource value, but this isn't included in the docs. The only way to know this if you look at one of the examples. Therefore I also suggest that we also add these named resources to the description of the resource option in the docs.
Suggested resources to add:
Currently when I want an accesstoken for Graph I have to run
m365 util accesstoken get --resource https://graph.microsoft.com. For SharePoint I can just runm365 util accesstoken get --resource sharepoint. To me it would be useful if we add another named resource for Graph so you can usem365 util accesstoken get --resource graphto get a graph token.Also noticed that we support
sharepointas resource value, but this isn't included in the docs. The only way to know this if you look at one of the examples. Therefore I also suggest that we also add these named resources to the description of theresourceoption in the docs.Suggested resources to add: