> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove License

Remove a license from a user.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `LicenseAssignment.ReadWrite.All`.
* **Higher privileged** Microsoft Graph permissions to access the action via **application**: `Directory.ReadWrite.All`, `User.ReadWrite.All`.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Entra ID documentation](https://learn.microsoft.com/en-us/graph/api/user-assignlicense?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                          |
  | --------- | -------------------------------------------------------------------------------------------------------------------- |
  | License   | A license GUID to remove.<br /><br />Obtainable via the `List User Licenses` action in the `skuId` parameter.        |
  | User      | The user ID or principal name of the user to remove the license from. Leave empty for the authenticated user (`me`). |
</div>

## Example Output

```json theme={"dark"}
{
	"accountEnabled": true,
	"assignedLicenses": [
		{
			"disabledPlans": [
				"11b0131d-43c8-4bbb-b2c8-e80f9a50834a"
			],
			"skuId": "0118A350-71FC-4EC3-8F0C-6A1CB8867561"
		}
	],
	"assignedPlans": [
		{
			"assignedDateTime": "2016-10-02T12:13:14Z",
			"capabilityStatus": "capabilityStatus-value",
			"service": "service-value",
			"servicePlanId": "bea13e0c-3828-4daa-a392-28af7ff61a0f"
		}
	],
	"businessPhones": [
		"businessPhones-value"
	],
	"city": "city-value",
	"companyName": "companyName-value"
}
```

## Workflow Library Example

[Remove License with Microsoft Entra Id and Send Results Via Email](https://library.blinkops.com/workflows/remove-license-with-microsoft-entra-id-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/remove-license-with-microsoft-entra-id-and-send-results-via-email/canvas" />
</div>
