--- title: "Assign Power BI License to a User in M365" slug: "dex-wf-assign-power-bi-license" updated: 2026-11-30T16:11:34Z published: 2026-11-30T16:11:34Z canonical: "documentation.sysaid.com/dex-wf-assign-power-bi-license" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # Assign Power BI License to a User in M365 Grant a user access to Microsoft Power BI by assigning the appropriate license through the admin center, Graph API, or PowerShell. **Complexity:** Beginner. **Impact:** licensing + user-onboarding + power-bi + cost-management. ## Why use this workflow Power BI requires a license assignment before a user can sign in and use the service. Common SKUs include **Power BI (free)**, **Power BI Pro**, and **Power BI Premium Per User (PPU)**. When a user requests access, confirm that an available license exists in the tenant, verify that the user's usage location is set (required for license assignment), and assign the SKU. Run this workflow when: - A user submits a ticket requesting Power BI access. - You are onboarding a new analyst, BI developer, or report consumer. - You are moving a user from Free to Pro for sharing and collaboration capabilities. ## Expected outcomes - The target user has a Power BI license assigned and can sign in to `app.powerbi.com`. - The user's `usageLocation` is set (required by Microsoft for licensing compliance). - The license assignment is auditable in the Microsoft 365 admin center and Entra audit logs. ## Risks and considerations - **Usage location required:** License assignment fails if the user has no `usageLocation` set. Verify or set it before assigning. - **License availability:** Confirm the tenant has available units of the Power BI SKU. Assigning from a depleted pool returns an error. - **Cost implications:** Power BI Pro and PPU are paid SKUs. Make sure the request is approved under your license governance policy before assigning. - **Group-based licensing:** If your tenant assigns Power BI through a security group, adding a direct license can create conflicts. Add the user to the licensing group instead. - **Data residency:** The Power BI tenant region is fixed at tenant creation. Assigning a license does not change data residency. ## Required permissions | Permission | Why it's needed | | --- | --- | | User.ReadWrite.All | Read user object and update license assignments and usage location. | | Organization.Read.All | Read subscribed SKUs to identify the Power BI SKU ID and available units. | | Directory.ReadWrite.All | Alternative broader scope for modifying user license assignments in the directory. | ## Ask Dex Paste the prompt into a Dex conversation. ### Prompt for IT admins ``` Assign a Power BI Pro license to {user_upn}. Verify the tenant has an available unit, set the user's usageLocation if it's missing, assign the license, and confirm the user can sign in to Power BI. ``` ### How an end user can ask Dex ``` I need access to Power BI so I can view the dashboards my team shared with me. ``` ## Manual steps (admin center) 1. Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) as a *License Administrator* or *User Administrator*. 2. Go to **Users** > **Active users**. 3. Search for the requesting user (for example, `{user_upn}`) and click their display name to open the user pane. 4. Select the **Licenses and apps** tab. 5. If prompted, set the user's **Location** (required for license assignment). 6. In the license list, select one of: - **Power BI (free)** - **Power BI Pro** - **Power BI Premium Per User** 7. (Optional) Expand the selected license and confirm the **Power BI** service plan is enabled. 8. Click **Save changes**. 9. Verify by returning to the user profile. The assigned license appears under *Licenses*. Ask the user to sign in at `https://app.powerbi.com` to confirm access. ## Microsoft Graph API ### 1. Find the Power BI SKU ID ``` GET https://graph.microsoft.com/v1.0/subscribedSkus ``` Look for SKUs with `skuPartNumber` values such as `POWER_BI_STANDARD` (free), `POWER_BI_PRO`, or `PBI_PREMIUM_PER_USER`. Record the `skuId` (a GUID). ### 2. Ensure the user has a usageLocation ``` PATCH https://graph.microsoft.com/v1.0/users/{user_upn} Content-Type: application/json {  "usageLocation": "US" } ``` ### 3. Assign the license ``` POST https://graph.microsoft.com/v1.0/users/{user_upn}/assignLicense Content-Type: application/json {  "addLicenses": [    {      "disabledPlans": [],      "skuId": "{powerbi_sku_id}"    }  ],  "removeLicenses": [] } ``` ### 4. Verify ``` GET https://graph.microsoft.com/v1.0/users/{user_upn}/licenseDetails ``` The response should include the Power BI SKU with its service plans enabled. ## PowerShell Uses the `Microsoft.Graph` module. Install once with `Install-Module Microsoft.Graph -Scope CurrentUser`. 1. **Connect** with the required scopes: ``` Connect-MgGraph -Scopes "User.ReadWrite.All","Organization.Read.All" ``` 2. **Find the Power BI SKU** (example for Pro): ``` $sku = Get-MgSubscribedSku | Where-Object SkuPartNumber -eq 'POWER_BI_PRO' ``` 3. **Set usageLocation** if not already set: ``` Update-MgUser -UserId '{user_upn}' -UsageLocation 'US' ``` 4. **Assign the license**: ``` Set-MgUserLicense -UserId '{user_upn}' `  -AddLicenses @(@{ SkuId = $sku.SkuId }) `  -RemoveLicenses @() ``` 5. **Verify**: ``` Get-MgUserLicenseDetail -UserId '{user_upn}' ``` For Power BI Free use `POWER_BI_STANDARD`. For Premium Per User use `PBI_PREMIUM_PER_USER`.