cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MichelGueli
Level: Powered On

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
Level: Powered On

Re: Accesss systemuserroles

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.

MichelGueli
Level: Powered On

Re: Accesss systemuserroles

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Users online (5,696)