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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 245 members 5,827 guests
Please welcome our newest community members: