Approve-SPOTenantServicePrincipalPermissionGrant
Approves a permission request for the current tenant's "SharePoint Online Client" service principal.
Syntax
Approve-SPOTenantServicePrincipalPermissionGrant
-Resource <string>
-Scope <string>
Description
Adds a permission for the current tenant's "SharePoint Online Client" service principal. Can be used to add needed permissions to the service principal without specifically requesting them in the SharePoint Framework solution file (sppkg).
Examples
------------------EXAMPLE 1------------------
Approve-SPOTenantServicePrincipalPermissionGrant -Resource "Microsoft Graph" -Scope "Mail.Read"
Adds a permission scope for the 'Microsoft Graph' resource with scope claim 'Mail.Read'.
Parameters
-Resource
Resource of the permission request to add.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Scope
Scope of the permission request to add.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle