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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Only 1 of 2 keys provided for lookup, provide keys for UserId,SecurityRoleIdentifier

(0) ShareShare
ReportReport
Posted on by 5

I am working on a logic app using the Fin & Ops apps connection to call Dynamics

I am trying to delete a user role but getting the following error

  "status": 400,
  "message": "Only 1 of 2 keys provided for lookup, provide keys for UserId,SecurityRoleIdentifier.
  "error": {
    "message": "Only 1 of 2 keys provided for lookup, provide keys for UserId,SecurityRoleIdentifier."
  }
The connection only asks for the UserId, and I can't see how I can pass the SecurityRoleIdentifier
I checked the logic app code in the CodeView, the path format is as below:
datasets/environment/tables/SecurityUserRoles/items/UserID
                                              
so, there isn't a way of passing the SecurityRoleIdentifier

I also tried passing the SecurityRoleIdentifier in the body, but that didn't help
I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,383 Super User 2026 Season 1 on at

    Hi Movand,

    In the Object id field, you would need to have two values separated with a comma. Do you have the value for the SecurityRoleIdentifier to be deleted?

  • Movand Profile Picture
    5 on at

    Thank you. This worked!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans