powershell
powershell copied to clipboard
Update Request-PnPAccessToken.md
Type
- [ ] Bug Fix
- [ ] New Feature
- [ ] Sample
- [x] Parameter description
Related Issues?
N/A
What is in this Pull Request ?
Not really sure about the -Resource parameter. It doesn't seem to do much. Is it there for compatibility reasons? I took the description from https://pnp.github.io/powershell/cmdlets/Get-PnPAccessToken.html
Hi @PowershellScripts , thank you so much for this and bunch of other PRs.
Resource is not a valid parameter.
The available parameters are ResourceTypeName or ResourceTypeUrl
ResourceTypeName has 3 available enum values - ARM, SharePoint and Graph
ResourceTypeUrl is a string parameter which can be used for custom APIs or even URLs like https://graph.microsoft.com
Thanks @PowershellScripts