Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Request-PnPAccessToken.md #2182

Merged
merged 6 commits into from
Sep 5, 2022
Merged

Update Request-PnPAccessToken.md #2182

merged 6 commits into from
Sep 5, 2022

Conversation

PowershellScripts
Copy link
Contributor

Type

  • Bug Fix
  • New Feature
  • Sample
  • 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

@gautamdsheth
Copy link
Collaborator

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

@KoenZomers
Copy link
Collaborator

Thanks @PowershellScripts

@KoenZomers KoenZomers merged commit 7ca1bc2 into pnp:dev Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants