logo
search
License & Subscription Issues

How to Remove a Former CSP Partner from a Microsoft 365 Tenant

Maira MehtabMaira Mehtab Oct 9, 2026 869 views

Question details

The user needs to remove a former Cloud Solution Provider (CSP) partner from their Microsoft 365 tenant using PowerShell because the standard removal UI is unavailable.

How to Remove a Former CSP Partner from a Microsoft 365 Tenant
Product
Microsoft 365
Device & OS
not provided
Scenario
The client currently purchases licenses directly from Microsoft, but the former partner's profile still appears in the tenant settings.
Observed behavior
The standard option to remove the CSP partner is missing or greyed out in the Microsoft 365 admin center.
Before you start

Ensure you have Global Administrator privileges in your Microsoft 365 tenant and that the required Microsoft 365 PowerShell modules are installed on your device.

Solution 1Recommended

Use PowerShell to Remove the CSP Partner Contract

Execute specific PowerShell commands to identify and force-remove the partner contract when the admin center UI option is missing.

By leveraging Microsoft 365 PowerShell, administrators can bypass UI limitations and directly interact with the tenant's partner contracts.

1
Connect to PowerShell

Open PowerShell as an administrator and connect to your Microsoft 365 tenant using your Global Administrator credentials.

2
Identify the Partner Contract ID

Run the command 'Get-PartnerContract' to retrieve a list of all active partner contracts. Locate the former CSP partner in the output and copy their specific 'ContractId'.

3
Remove the Partner

Run the command 'Remove-PartnerContract -ContractId <YourContractId>', replacing '<YourContractId>' with the ID you copied in the previous step. Press Enter to execute.

Use PowerShell to Remove the CSP Partner Contract
Admin Permissions Required: You must have the correct administrative roles assigned to execute these commands. If you lack sufficient privileges, the command will return an access denied error.
Free Microsoft Office alternative

Looking for a Cost-Effective Alternative to Microsoft 365?

Managing Microsoft 365 tenant settings, partner relationships, and expensive licenses can be overly complex for many users. If you want a lightweight, powerful, and free alternative, WPS Office provides everything you need to create, edit, and collaborate on documents without the hassle of complex subscription management.

Fully compatible with Microsoft Office file formats, including .docx, .xlsx, and .pptx.Free and lightweight, avoiding complex tenant administration and partner license management.Familiar and intuitive user interface allowing for an immediate and seamless migration.Built-in robust PDF editing, cloud storage, and advanced team collaboration tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the option to remove a CSP partner unavailable in the Microsoft 365 Admin Center?

This usually happens if the partner still holds active delegated admin privileges or if there are backend synchronization delays after you switched to direct Microsoft billing.

Will removing a CSP partner delete my user data or current licenses?

No, removing a partner only revokes their access and billing relationship with your tenant. It does not affect your tenant data or the licenses you have purchased directly from Microsoft.

What PowerShell module is required to run Get-PartnerContract?

You need the MSOnline (MSOL) module or the Microsoft Graph PowerShell module installed, and you must authenticate as a Global Administrator to successfully manage partner contracts.