Search Results for

    Show / Hide Table of Contents

    Approve-PnPTenantServicePrincipalPermissionRequest

    SYNOPSIS

    Required Permissions

    • SharePoint: Access to the SharePoint Tenant Administration site

    Approves a permission request for the current tenant's "SharePoint Online Client" service principal

    SYNTAX

    Approve-PnPTenantServicePrincipalPermissionRequest -RequestId <Guid> [-Force]
     [-Connection <PnPConnection>] 
    

    DESCRIPTION

    Approves a permission request for the current tenant's "SharePoint Online Client" service principal

    The return value of a successful call is a permission grant object.

    To get the collection of permission grants for the "SharePoint Online Client" service principal, use the Get-PnPTenantServicePrincipalPermissionGrants command.

    Approving a permission request also removes that request from the list of permission requests.

    EXAMPLES

    PARAMETERS

    -Connection

    Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

    Type: PnPConnection
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Force

    Specifying the Force parameter will skip the confirmation question.

    Type: SwitchParameter
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -RequestId

    Type: Guid
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer