Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
710:cms_sharepoint_online_new [2024/04/17 14:13] – [API Permissions] Policnik, Florian | 710:cms_sharepoint_online_new [2024/04/29 15:07] (current) – [API Permissions] Policnik, Florian | ||
---|---|---|---|
Line 136: | Line 136: | ||
==== API Permissions ==== | ==== API Permissions ==== | ||
- | In addition to the Redirect URIs, the application needs [[https:// | + | In addition to the Redirect URIs, the application needs [[https:// |
=== Default option: delegated permission Sites.ReadWrite.All === | === Default option: delegated permission Sites.ReadWrite.All === | ||
Line 174: | Line 174: | ||
For this option an **admin consent is required**. This can be done by a Global Administrator, | For this option an **admin consent is required**. This can be done by a Global Administrator, | ||
- | In addition for the '' | + | In addition for the '' |
+ | |||
+ | |||
+ | == PnP PowerShell == | ||
+ | |||
+ | The PnP PowerShell offers a [[https:// | ||
+ | |||
+ | <code powershell> | ||
+ | Grant-PnPAzureADAppSitePermission -AppId " | ||
+ | </ | ||
== Microsoft Graph PowerShell SDK == | == Microsoft Graph PowerShell SDK == | ||
Line 197: | Line 206: | ||
@{application = @{ | @{application = @{ | ||
id = " | id = " | ||
- | displayName = " | + | displayName = " |
} | } | ||
} | } |