Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
710:cms_sharepoint_online_new [2024/04/16 14:11] – [API Permissions] Policnik, Florian710:cms_sharepoint_online_new [2024/04/17 14:13] – [API Permissions] Policnik, Florian
Line 136: Line 136:
 ==== API Permissions ==== ==== API Permissions ====
  
-In addition to the Redirect URIs, the application needs [[https://docs.microsoft.com/en-us/graph/permissions-reference|permissions]] for file handling. Up to Stages version XXX we had the option to use delegated [[https://learn.microsoft.com/en-us/graph/permissions-reference#sitesreadwriteall|Sites.ReadWrite.All]] permission. Because of backward compatibility this is the default behavior. With Stages version XXX we added the option to use application and delegated permission [[https://learn.microsoft.com/en-us/graph/permissions-reference#sitesreadwriteall|Sites.Selected]]. This is the recommended option.+In addition to the Redirect URIs, the application needs [[https://docs.microsoft.com/en-us/graph/permissions-reference|permissions]] for file handling. Up to Stages version XXX we had the option to use delegated [[https://learn.microsoft.com/en-us/graph/permissions-reference#sitesreadwriteall|Sites.ReadWrite.All]] permission. Because of backward compatibility this is the default behavior. With Stages version XXX we added the option to use application and delegated permission [[https://learn.microsoft.com/en-us/graph/permissions-reference#sitesselected|Sites.Selected]]. This is the recommended option.
  
 === Default option: delegated permission Sites.ReadWrite.All === === Default option: delegated permission Sites.ReadWrite.All ===
Line 178: Line 178:
 == Microsoft Graph PowerShell SDK == == Microsoft Graph PowerShell SDK ==
  
-The [[https://learn.microsoft.com/en-us/powershell/microsoftgraph/installation?view=graph-powershell-1.0|Microsoft Graph PowerShell SDK]] must be installed. In this example we're granting access for Stages app with client ID ''11111111-1111-1111-1111-111111111111'' to SharePoint Online Site ''<nowiki>https://example.sharepoint.com/sites/steering</nowiki>''.+The [[https://learn.microsoft.com/en-us/powershell/microsoftgraph/installation?view=graph-powershell-1.0|Microsoft Graph PowerShell SDK]] must be installed. The user must be an Azure administrator. In this example we're granting access for Stages app with client ID ''11111111-1111-1111-1111-111111111111'' to SharePoint Online Site ''<nowiki>https://example.sharepoint.com/sites/steering</nowiki>''.
  
 Please notice that site ''<nowiki>https://example.sharepoint.com/sites/steering</nowiki>'' have to be separeted into ''example.sharepoint.com'' and ''/sites/steering'' and have to be combined again with '':'' as separator: ''<nowiki>example.sharepoint.com:/sites/steering</nowiki>'' Please notice that site ''<nowiki>https://example.sharepoint.com/sites/steering</nowiki>'' have to be separeted into ''example.sharepoint.com'' and ''/sites/steering'' and have to be combined again with '':'' as separator: ''<nowiki>example.sharepoint.com:/sites/steering</nowiki>''