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 |
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro