cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MichelGueli
Helper I
Helper I

Accesss systemuserroles

I want to access the systemuserroles entity in an Canvas App. I use a custom table called systemuserrolescollection. This works. Then when I create a gallery with the new entity as the source, I cannot see all the fields.

 

I can see the primary key systemuserroleid. But I cannot access the roleid and systemuserid. Type guid.

 

<EntityType Name="systemuserroles" BaseType="mscrm.crmbaseentity">
<Key>
<PropertyRef Name="systemuserroleid"/>
</Key>
<Property Name="versionnumber" Type="Edm.Int64"/>
<Property Name="systemuserroleid" Type="Edm.Guid"/>
<Property Name="roleid" Type="Edm.Guid"/>
<Property Name="systemuserid" Type="Edm.Guid"/>
</EntityType>

 

Any idea how to access these fields?

2 REPLIES 2
AbeSaldana
Helper II
Helper II

MichelGueli, 

 

the behavior could be many things, for starters are you a System Administrator role?, are those are in the same Business Units, and/or are you at the Root Business Unit?

In my case I'm the Global administrator and Have system admin, I'm at the Root of Business Unit, and will be able to see all the other users and roles assigned to them. 

I have a Dynamics 365 CE and CDS enable, and also I have a tool that helps me a lot to get the correct data and see record metadata from the Dynamics 365 side. I'm using CRM REST Builder by Jason Lattimer, and I added a screenshot from that same entity you are looking and for my access rights, I can see everything.

 

probably another thing is that CDS is not been populated with that data.

Abe, thanks for replying. I'm a system admin. It's not a rights thing.

 

The connector to CDS, from a Canvas App,  is not the same as what you see with the CRM Rest Builder. Try to retrieve the same data in a canvas app. I already experimented allot with the connector in Flow and Canvas app. I want to know why it's not showing up in a Canvas app and why it does in Flow.

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (2,193)