web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Is it possible to chec...
Power Automate
Unanswered

Is it possible to check if a user has an E5 license in Power Automate?

(1) ShareShare
ReportReport
Posted on by

Hello all! Is it possible to check if a user has an E5 license in Power Automate? We have a flow that assigns licenses and don't want to assign a premium license on top of what they already have (if they don't realize the E5 already covers their needs).

 

Thank you!

J

Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,397 Super User 2026 Season 1 on at

    Hi @jharville ,

     

    Yes, you can do it with Microsoft Graph.  Here is the supporting documentation and a video too.

     

    https://learn.microsoft.com/en-us/graph/api/user-list-licensedetails?view=graph-rest-1.0&tabs=http 

     

    How to use Microsoft Graph API in Power Automate - Beginner Tutorial (youtube.com)

     

     

  • jharville Profile Picture
    on at

    @trice602 

     

    Thank you for the response! I looked into the video and think the steps would go something along the lines of this:

     

    1. Create a new flow in Power Automate.
    2. Add a trigger that will initiate the flow.
    3. Add an action to make a HTTP request to the Microsoft Graph API (as mentioned in the video).
    4. In the HTTP request action, I'd assume we fill out the fields with the following details:
      • Method: GET
      • URI: https://graph.microsoft.com/v1.0/users/{user-id}/licenseDetails ... replacing {user-id} with the ID of the user whose assigned licenses we want to retrieve.
      •  But since I'm not too familiar with using this action, I tried asking CoPilot for help with the 'headers', but what would the formatting look like? All CoPilot told me was to "include the necessary authorization headers to authenticate the request."
    5. In the documentation you sent, there's the API response typed up in JSON. I'm assuming we need a response action to process it, would that just be a 'Parse JSON' action? If not, what would be the best one to use for this scenario?

     

    Thank you for your help! I appreciate it~

     

    -J

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard