Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Setting the User on a Bookable Resource

(0) ShareShare
ReportReport
Posted on by 36

I want to add the User to the Bookable Resource, if the Bookable Resource email already exist as a User.

 

I do this by first selecting from the SystemUsers based on email to get the GUID and then set a variable to systemusers({GUID}) and that works as intended:

Ruprect_0-1612790683126.png

The variable is set correctly.

 

I then use the "Create a new record" action, to create a new Bookable Resource:

Ruprect_2-1612790894503.png

And under advanced options, I set the User reference, from the variable above:

Ruprect_3-1612790953905.png

 

And when looking at a run of the flow, it works as intended:

Ruprect_4-1612791097013.png

This is the raw inputs sent:

 

{
 "host": {
 "connectionReferenceName": "shared_commondataserviceforapps",
 "operationId": "CreateRecord"
 },
 "parameters": {
 "entityName": "bookableresources",
 "item/msdyn_displayonscheduleboard": true,
 "item/name": "TEST USERNAME",
 "item/resourcetype": 4,
 "item/timezone": 105,
 "item/aba_department@odata.bind": "aba_bookableresourcedepartments(e6cb4f1e-1862-eb11-a812-0022487f85ee)",
 "item/aba_externalid": "999999",
 "item/msdyn_primaryemail": "aba@customer.onmicrosoft.com",
 "item/abakion_primaryphone": "12345678",
 "item/dyna_type": 356630002,
 "item/UserId@odata.bind": "systemusers(93c675de-aaaa-bbbb-cccc-dddddddd73fd)"
 }
}

 

 

But when checking the record in Bookable Resources, the User is not set:

Ruprect_5-1612791516211.png

 

Please advise

 

Regards,

Michael Nielsen

  • Expiscornovus Profile Picture
    32,131 Most Valuable Professional on at
    Re: Setting the User on a Bookable Resource

    Hi @Ruprect,

     

    I see you are setting the resourcetype as equipment (4). Can you change that to User (3) and see if that works?

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1