Enable-SPOTenantServicePrincipal

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

Syntax

Enable-SPOTenantServicePrincipal
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

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

Examples

------------------EXAMPLE 1------------------

Enable-SPOTenantServicePrincipal

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

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object