Enable-PnPTenantServicePrincipal

Enables the current tenant's "SharePoint Online Client" service principal.

Syntax

Enable-PnPTenantServicePrincipal
      [-Force [<SwitchParameter>]]
                                      [-Connection <SPOnlineConnection>]

Description

Enables the current tenant's "SharePoint Online Client" service principal.

Optional 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:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Force

Specifying the Force parameter will skip the confirmation question.

Type:SwitchParameter
Position:Named
Accept pipeline input:False
Accept wildcard characters:False