Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Create Flow to check if new user added within 24 hours, if so, then add a license to the account

(0) ShareShare
ReportReport
Posted on by
I thought I posted this question earlier, but something must have gone wrong during the posting process. So I am submitting it once again.
 
I want to create a flow that simply checks if a new user account was created within the last 24 hours. If so, then add a license to the new user account. Once the license is assigned to the new user I will do other things, but I cannot seem to this portion working. I referenced the following video to walk me through the process, but it does not seem to work. Not sure what I am doing wrong. Apologies, I am new to using Power Automate, and want get comfortable creating workflows. 
 
This the video used as reference:
 
 
This is the error, I receive:
 
Action 'Send_an_HTTP_request_V2' failed: URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: groups. Uri: https://graph.microsoft.com/v1.0/users?$select=displayName,mail,createdDateTime&$filter=createdDateTime ge formatDateTime(addDays(utcNow(),-1),'yyyy-MM-ddTHH:mm:ssZ')
  • Suggested answer
    David_MA Profile Picture
    David_MA 9,039 on at
    Create Flow to check if new user added within 24 hours, if so, then add a license to the account
    You can do two things:
    1. Create subscription using the Graph API for when new users are added
      1. Here is information on Graph API subscriptions: Create subscription - Microsoft Graph v1.0 | Microsoft Learn
    2. And a flow to process the response from the Graph API when it occurs
      1. And here is information for setting this up: MS Graph subscriptions using Power Automate
    You will need to have the appropriate permissions in order for this to work.
     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard