Share via


Remove-SPOServicePrioritizationAppRegistration

Removes an app registration from service prioritization in SharePoint Online.

Note

This functionality is rolling out and might not be fully enabled in your environment yet.

Syntax

Default (Default)

Remove-SPOServicePrioritizationAppRegistration
    -AppId <Guid>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

This cmdlet removes a specified app registration from the service prioritization configuration in SharePoint Online. This is useful for administrators who need to decommission or update app registrations.

Examples

Example 1

Remove-SPOServicePrioritizationAppRegistration -AppId "12345678-1234-1234-1234-1234567890ab"

This example removes the app registration with the specified AppId from service prioritization.

Parameters

-AppId

The unique identifier (GUID) of the app registration to be removed from service prioritization. This parameter is required and must be specified.

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object