You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOServicePrioritizationAppRegistrations.md
+10-16Lines changed: 10 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,13 @@
1
1
---
2
2
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
The `Get-SPOServicePrioritizationAppRegistrations` cmdlet retrieves all app registrations enrolled in SharePoint Online Service Prioritization for the tenant.
35
+
This cmdlet retrieves all app registrations enrolled in SharePoint Online Service Prioritization for the tenant.
31
36
32
-
When `-PolicyId` is specified, only registrations linked to that billing policy are returned. The filtering is performed server-side, so only matching records are transferred.
33
-
34
-
You must be a SharePoint Online administrator to run this cmdlet.
37
+
When `-PolicyId` is specified, only registrations linked to that billing policy are returned.
35
38
36
39
## EXAMPLES
37
40
@@ -46,7 +49,7 @@ Returns all app registrations enrolled in SharePoint Online Service Prioritizati
46
49
### Example 2: Get app registrations for a specific billing policy
Copy file name to clipboardExpand all lines: sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOServicePrioritizationAppRegistrationsByPolicy.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
The `Remove-SPOServicePrioritizationAppRegistrationsByPolicy`cmdlet removes all app registrations associated with the specified billing policy in a single server-side operation.
26
+
This cmdlet removes all app registrations associated with the specified billing policy.
23
27
24
28
Before deletion, the cmdlet verifies that the billing policy exists and that at least one app registration is linked to it. If neither condition is met, the cmdlet exits silently.
25
29
26
30
By default, the cmdlet prompts for confirmation before deleting. Use `-Force` to suppress the confirmation prompt.
27
31
28
-
You must be a SharePoint Online administrator to run this cmdlet.
29
-
30
32
## EXAMPLES
31
33
32
34
### Example 1: Remove all app registrations for a billing policy
| SuccessCount | Int32 | The number of app registrations successfully removed. |
129
-
| FailedAppIds | List\<String\> | App IDs that could not be confirmed as deleted, populated only when the server reports fewer deletions than expected. `null` when all registrations were deleted successfully. |
130
-
| BillingPolicyDeleted | Boolean | Always `false` for this cmdlet. Use `Remove-SPOServicePrioritizationBillingPolicy` to delete the billing policy. |
Copy file name to clipboardExpand all lines: sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOServicePrioritizationBillingPolicy.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
The `Remove-SPOServicePrioritizationBillingPolicy` cmdlet removes all app registrations associated with the specified billing policy in a single server-side operation, and then deletes the billing policy from Azure Resource Manager.
26
+
This cmdlet removes all app registrations associated with the specified billing policy in a single server-side operation, and then deletes the billing policy from Azure Resource Manager.
23
27
24
28
The billing policy is only deleted if all linked app registrations were successfully removed. If any registrations could not be confirmed as deleted, the billing policy is left intact and the unconfirmed app IDs are reported in `FailedAppIds`.
25
29
@@ -32,15 +36,15 @@ You must be a SharePoint Online administrator to run this cmdlet.
32
36
### Example 1: Remove a billing policy and all its app registrations
| SuccessCount | Int32 | The number of app registrations successfully removed. |
129
-
| FailedAppIds | List\<String\> | App IDs that could not be confirmed as deleted, populated only when the server reports fewer deletions than expected. `null` when all registrations were deleted successfully. |
130
-
| BillingPolicyDeleted | Boolean | `true` if the billing policy was successfully deleted from Azure Resource Manager; `false` if the policy could not be deleted (e.g., transient error or insufficient permissions) or if there were failed app registration deletions. |
0 commit comments