Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

From Systemuser table, can we identify what kind of license has assigned for users?

Posted on by 407

To get user license details, we usually check from the AAD or Microsoft 365 admin center, however, we don't have permission to check from the AAD or Microsoft 365 admin center, we can only get the information from the user table.

  • Guowei_Xu Profile Picture
    Guowei_Xu 407 on at
    RE: From Systemuser table, can we identify what kind of license has assigned for users?

    Hi Eiken,

    Thanks for your reply.

    For this question, I asked the Microsoft CSS Team for help.

    Below is the reply from CSS.

    ========================================================

    From systemuser table, there is no way to map that field to a particular license.

    However, there is an option to get the license details:

    Call CRM Web API:  <orgURL>/systemusers(<CRMUSERID>)/Microsoft.Dynamics.CRM.RetrieveUserLicenseInfo

    Reference: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/retrieveuserlicenseinfo?view=dataverse-latest

     

    As tested from my OOB environment, I could get the expected license details from this API call.

  • Suggested answer
    Eiken Profile Picture
    Eiken on at
    RE: From Systemuser table, can we identify what kind of license has assigned for users?

    Hi,

    There are two attributes in system user table, UserLicenseType and CALType.

    CALType is used only in the on-premises version of the product. 

    pastedimage1679453360604v1.pngpastedimage1679453379742v2.png

    You can get a wholenumber by searching this attribute.

    pastedimage1679453644328v3.png

    Then check against the table below

    pastedimage1679453746678v4.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans