Office 365 Manage Licenses (Manual Process)

This article provides the steps to configure your Self-Service Portal to work with your customer’s or partner’s Office 365 Manage Licenses

Pre-requisites

Performing this task will require the following:

  • Portal Owner privileges
  • Azure Admin privileges on the tenant

Time required

This configuration process is expected to take 15 minutes

Additional notes

📘

These permissions enable customers to assign licenses to their users. When a Global Admin accesses the Manage License page in the portal and grants access, the app will be able to read/write on the customer's tenant, thus enabling them to manage their own licenses.

Procedure

  1. Login to Azure Portal using the Global administrator account and click on the 'Azure Active Directory' icon within the Azure Services section. In case you don’t find the 'Azure Active Directory' icon click on More Services.
  1. Click on ‘App Registrations’ on the left-hand navigation menu and then click the ‘+ New Registration’ button on the right-side pane
  1. Paste your Self-Service Portal URL:

    1. Name Value
      Dynamics Portal URL
  2. Copy the following values paste them into the Register Application Page and click 'Register':

    1. Name Value
      Name Dynamics 365 Portals (Manage Licenses)
      Supported account types Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant)
      Redirect URL
  3. Within the newly created App click on ‘Authentication’ menu on the left-hand side navigation. On the right-hand pane tick the below checkboxes and hit ‘Save’.

  1. Now Click on ‘API Permissions’ on the left-hand side navigation. Click the ‘Add a Permission’ button on the right-hand pane
  1. In the Window that pops up click on "Microsoft Graph"

  2. In the next Screen chose 'Delegated Permissions'

  1. In the section below, expand the ‘Directory’ area and select ‘Directory.ReadWrite.All’ and click the ‘Add Permission’ button.
  1. 📘

    This permission needs Admin consent. If the ‘Grand Admin Consent’ button looks disabled, try refreshing the screen. Once enabled, ensure to hit the ‘Grant admin Consent…’ button.

  1. To confirm check the ‘Status’ column in the table below which should now display ‘Granted..’
  1. Click on 'Overview' on the left-hand navigation menu and copy the 'Application (client) ID'
  1. Go back to your CRM and Click on the 'App' besides Dynamics 365 at the top-left corner
  1. Click on 'Portal Management'
  1. On the left-handed menu click on 'Site Settings'
  1. Create the following record:
Name Value
Work365 - Application Id['Application (Client ID)' from step #12]

👍

Your Azure AD is now configured to allow your customers to manage their licenses through your Self-Service Portal.