Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

CRM Audio

CRM Audio artwork

Contacts Are Users Too - Now with Dataverse Privileges

Oct 6, 202519 minAudio
ShareXLinkedInFacebookWhatsAppEmail

It's one of the biggest Power Pages updates we've seen in years, and we're excited about what it means for the future. We talk about the newest Power Platform release and its biggest change - bringing Power Pages security together with Dataverse roles. We explain how web roles and contact records now work with system users, making Power Pages security act more like Dataverse. We share what we learned from testing the private preview, including how permissions, ownership, and auditing work now, and what the new "C2" users are. We also wonder what this means for performance, licensing, and people building their own portals. References Overview of Power Pages 2025 release wave 2 | Microsoft Learn Unify Power Pages authorization by merging web role with Dataverse security role | Microsoft Learn Get in touch voice@crm.audio Nick Hayduk @Engineered_Code George Doubinski @georgedude

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

George: Good afternoon, Nick Nick: Good morning, George. How are things in the Southern hemisphere? George: Winter, the usual. how's, how things, up in Canada? Nick: very smoky. We're dealing with some pretty bad wildfires. so we've got fire bans in lots of places and, air quality index is usually pretty poor. so that's kind of been the story of the summer so far up here in Canada. George: Okay. well, temperature wise we're about the same, right? Nick: Yeah, it's not the George: Uh, Nick: July

George: have, Nick: hoping for, but George: well, 18 nice and clear skies. Nick: yeah. George: That's what we get Nick: like our George: winter. Nick: well. Yep. George: The reason why we're here is kind of, I wouldn't call it emergency broadcast, but we have release notes and it's kind of all same, same things, progressively improving. But there is one feature that stands out, right? So we want to kind of drill in because we got our hands on private preview and played a little bit with it.

So we want to just dive straight in before we do, so why don't you walk us through the other features that are in the release plan so we know what's coming, Nick: Sure. well, you won't be surprised to hear that there's some agents, so it looks like there's a. they say it's an admin, trust, security and compliance agent. So it sounds like something kind of running behind the scenes that's gonna help, says detect threats, violations, and risks. so that's kind of a, an admin governance type thing.

there's also, kind of an agent within the, within VS. Code, I believe for desktop where it is, it's actually looks like it's integrating code ql, to analyze George: Oh, nice. Nick: your, your code, and looking George: Oh, please don't. Please don't. Nick: And I think it's gonna publish all of, the comments on George's code to, to the internet. So we're looking forward to seeing those. what else have we got? We do have, the ability to create and delete websites using the power platform. CLI.

so that's really just spinning up the, kind of the Azure resources associated with the Power Pages site. I, I know there was some kind of back and forth on social about that. so that's not going to, it has nothing to do with kind of templates or anything like that. it's really just more creating the Azure resources. what else do we have here? and it looks like, another agent, an agent that will help configure roles per, you know, web roles, permissions, and different kind of things that you can set up, within Power Pages. So a few agents, some addition to the power platform, CLI.

but I think, you know, the big thing that, we're here to talk about, you know, it's, it's. You know, for a few years now, the release notes have come out and there hasn't been too much. That has been kind of groundbreaking that, you know, I think of things like. You know, when the web API came out, it was like, man, like that is really gonna change things. and it's funny, this one, I guess in theory, if you ask people, it may not, you know, the idea is that it's not gonna change, it's not gonna change the way that people have to use it. But there's certainly gonna be some added features here. but the big one that came out is the unification of Power Page's authorization

by merging web roles and, contacts with security roles and system users. So what, what does that mean, George? George: Okay. so as I said, we, we got our hands on. Private preview, went through few bumps and bruises. team is actually super proactive. they, they work, relentlessly on the features of fixing things as you go along. As you can imagine it. it's, let's say challenging. let me just try to share the screen and see how we go, because we might

publish like a snippets of, what that. Might look like, for people to, to understand what's coming. Nick: Well, what, what do they mean by merging or unifying the security between Power Pages and Dataverse? George: Okay, so what happens is when you create a user in, context, so the portal user or power pages user, right? it's replicated to users.

Table and web roles are also replicated. you will not see them if you just go and browse. let me show you. If I go to my contacts. So these are the test users. You see, took me a few attempts to get things going. Right? There is a new view, not here, but. All these users will be replicated. You see there's a 0, 1, 2, 3, 4, 5, 6, 7, 7 users, right?

So let me just, ahead and, go to my standard things to manage users in Dynamics 3 6 5. So this is few users and there's a new view called Power Pages users. These are the actual users mapped and what is different? what is different about these users. and I added a single field on the form that actually, shows

up as, managed user type. And there could be Entra user, C 2 or impersonable stub user. It's what's called C 2 user. I don't know where the name is coming from. looks like it's Microsoft internal terminology. for users that are not entry users, they internal. That's what these users, marked as, and they do get those roles assigned to them. The roles actually, believe it or not, even more bizarre than that,

have permissions that do not exist in standard UI as you would expect. they stretching in the system left and right, but you're saying, oh, all of these for what? Well, all of these, for something like this. now if I go to, as you can see, I've got the page. I've got form, custom form, on a custom table, called unimaginatively called test, and I have permissions. On that table to authenticated users.

And I believe, it's create and read, but I think we can drop it to create only. what I can do, I can, go ahead and take a look at that page, cue the music. And I say, hi Nick. Submission completely. You see, I'm a user test. User Seven signed in as test user seven. So now if I go to this. Table. Here's our entry. Hi Nick.

Have a look who's the owner of the record is. Right. Same goes for, created by and, modified by. The way DX studio was doing it is injecting the clauses and that's no longer required because permissions are at the system level. In addition to that, everything around security. works. Audit works. Access.

If you log in, read access, it will just work. no longer. You have to wonder who was the user who created updated, modified, or access to record. You get the user, insight as if it were a system user. So that's in a nutshell what the feature is. There's more coming, I was told there's more coming. That's public. Previews gonna get announced. In the meantime, I'm playing with it. I'm trying to get my head around how permissions work.

Can I assign custom roles to those tables or should they continue? assign web roles as before. So, if I sign web roles and continue manipulate web roles as before, they are replicated as permissions to the tables. So let's, let's go and dive in again. Have a look. So the test table, it's got some odd permissions, right? So, it's, it's like I, I can't even describe.

these permissions are, there are permissions there. They're just not your standard scope permission. So they added additional scoping for permissions. It's not self, it's not organization, it's not business unit. It's something else. It's a portal. Specific Power pages, specific permissions. they new, that's why they don't show in ux. I'm not sure if they will show in ux. I, I suspect at some point they will. It will be a different scoping. additional new kind of scope.

For permission, for privileges. Sorry, the correct name is privileges. See. it is got create and read, but special scope, it's not denying it, it is got create and read, but scope is UX. Doesn't understand the scope. Nick: Yeah, this is the part that I'm interested, in seeing how this is gonna work because, I mean, I can get how, you know, every time the a contact is created, that logs into a portal, they can create that kind of stub system, user account, and then all those operations happen, by impersonating that user account.

That makes sense to me. That's actually, I think, relatively straightforward in terms of, making the, the platform do that, but the enhancements that they have to make to the kind of the base security to support a, a security scheme that is just completely unrelated to how Dataverse works. works Dataverse all built on, the ownership of records and business units and am I in the same business unit, all that sort of stuff. Whereas on Power Pages, it's all about. How is my record related to these other records?

So it's not even just like, Hey, I'm related to this contact. How is it related to this other testing? And then you have your parents scope permissions. None of that exists in the platform. So, you know, one of the benefits to this that they talk about is that, this should be a performance gain because the security is now, we don't have to add extra. FET checks or extra link entities to the, to the queries. 'cause it'll just be handled by the platform, but the platform must be extended in order to, to support this different scheme of, of security. So I'm, I'm hoping at some point we get to see some, some details as to

how they, they actually implement that, or again, whether we can, George: Now inevitably you, you have to replicate Nick: mm-hmm. George: the logic. while self access is probably kind of the, the most obvious one, he's the catch. This new permissions work only effectively on custom tables non. what they call non-oral or non-power pages, tables. So if you take contact take feedback, for example, or web form, so anything related

to power pages, it's not gonna work. That's kind of, it's common, it is just temporary thing. So for example, accounts should work. Custom tables, as you've seen, do work. So with custom table, I could say, Hey look, give me access to the. Record. Yeah, that this is bizarre. It's like, it's a new permission. It's like I created my own record. because usually in the portal, when you want to give ownership of the record, you create a separate relationship between a contact and the record.

So the test table would have contact relationship to a contact and say, portal contact or something like this. They call the look up column. That's no longer required because you, you kind of, you have built in relationships through owner. Right. that's kind of obvious, but then you start traversing and say, gimme access to the context of the account. I'm a child of something like this. Right. And then you traverse those relationships. Nick: That's the part I don't, I don't get that what I'm almost even more interested to see is.

If that's just now gonna be a base platform feature where we can make permissions based on, on the way things are related, not just the owners, how can we use that in non-power pages related projects? 'cause if if it's in there, it's in there, we must, there must, we must be able to use it if it's is kind of base platform stuff. George: talking Nick: Yeah. George: Yeah, now we're talking because they did allude to something very exciting coming with the public preview. I wonder if that's Nick: Yeah. George: It's ability to use relationships in this, in a foundational dataverse

Nick: I mean, if it's baked into the security model, I don't see, I can see there maybe not being a UI to set that up, but, I think we would see an XM toolbox tool pretty quickly that would, allow you to edit those, security roles to set them up. Or, again, you can just probably create, you know, even if you aren't gonna use 'em on power pages, you create the web roles and then start assigning those roles to system users and yeah, it, it's gonna be an interesting time. George: This is, yeah, that's really interesting. Like if you go and ask for system users. You will not see those Nick: Mm-hmm. George: at all.

You have to explicitly add condition on that column I Nick: Mm-hmm. George: If you don't add it, it implies it's zero oh, like, normal entry user. I'm interested in, and I'm kind of raising my hand, and you know, I'm asking can I use that? Can I impersonate those users? They internal, can I create those internal users? I would suspect the answer would probably be not supported.

Nick: Yeah. I'm cur curious what what the process is that, you know, Hey, when this happens, take this contact and create that synced user record. George: Oh, I'm not even interested in creating a contact. I'd go straight for the jugular. Uh, I'd say give me the Nick: Hmm. George: C two user, whatever that is, because it looks like you can impersonate that Nick: Mm-hmm. George: It's active user that doesn't have a license, can I impersonate those users? Or do I have to pay? Because there's a licensing kind of comes into play because these users,

they're part of the Power Pages Nick: Mm-hmm. Mm-hmm. George: So, but if I do pay for Power Pages users, can I use them? Not in Power pages. Nick: Well, here's another question that I had a client ask me is. Well, what about the people who are, you know, users that are logging into Power Pages as a contact, but they're kind of internal users and they're logging with intra id. Is it gonna be smart enough to not create a kind of stub user record

for them and use their actual system user record if they had one? My guess was no, but, that was, it was just purely a guess. George: Right. So, because it creates a contact and it replicates it because it does create a contact with Nick: for sure. I, I was just wondering like, is it smart enough to see like, oh, this is, you know, when they logged in, but I, I didn't think it could kinda. Pierce the shield if it would know. George: I think one step Nick: Yep. Okay. George: one step at a time. There is a, like when I was troubleshooting with the team, they did show a little bit under the hood.

As you can imagine, it's super complicated web of, plugins that replicate this information and ensure the permissions are in place and this and that. log in and. know, we would troubleshooting this and that, and there's different flags, different permissions. So as you can imagine, it's quite Nick: Yeah. George: it's amazing feat that they managed to pull off. And this is the most exciting feature I'd say in years. it's what it's promised to be, then. I I'm asking like there are, there are different portal products.

Like I have WordPress based one, but there are the T net based, products. There are two or three good players. There's a Sitefinity, I think, who's say there's affinity based one, there are a couple others. and if you roll out your own mini portal based on whatever on static pages, if you want to, Can you use that? And you say like, yeah, okay, I'll, I'll pay for authenticated licenses, but can I use this, model so that that will be exciting and interesting to

Nick: Another 10 pages in the licensing guide. George: Probably, probably. I wonder what the conditions are gonna be. It's like, not supported. I But dunno, I'm continuing playing. this is exciting. I've got nothing Nick: Yeah. No, this is, this is was one of the bigger announcements we've seen in the history of the product. One of the big We were, I mentioned the web API or when they finally said Bootstrap five was coming out or the enhanced data model. But, I, I don't know of announcement that's gotten more chatter because

those are the ones we could see coming. This one, to be honest, was a bit of a bit of a surprise for people. I think a very nice, pleasant surprise. I don't know if a lot of people had that this on their, their bingo cards. So, yeah, I'm, I'm, I'm happy seeing it, and I saw some comments from people saying, well, this, it just shows how much Microsoft is still in on this platform, because this is a pretty fundamental change. I'm sure it was no small amount of work, so it's not something you'd do for a, a, a product that you weren't, you weren't planning on still investing in. So that's good to see.

George: Yeah. And cooperation between the Power Pages team and Dataverse team is Nick: Mm-hmm. George: because you do need, you go deep, deep into security models. So you do need, some level of cooperation and, and understanding. because you, you don't let anyone into model Nick: No. George: So yeah, exciting times. that's it from Nick: Yeah. Well, I, look forward to seeing some more details as they come out. hope, hopefully there'll be a, a public preview here soon, and we get more

people with their hands on it and we can see what this thing's gonna be like in Yeah, in, in the real world. George: Yeah, absolutely. looking forward to it and I'll continue digging. I'll let you know if I discover something even more exciting. Well, until that time, thank you very Nick: Thanks, George. We look forward to hearing what you, what you find.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Hot SPA time machine in Power Pages

    Oct 19, 202633 minAudio

    AI agent wrote, compiled, and deployed a full Dataverse plugin for George in under thirty minutes with DLL, custom API, pre/post steps and all, rendering him (George, that is) obsolete. This aside, we cover the new...

    Credit the people on this episode

  2. The Very Last Release Wave

    Oct 5, 202627 minAudio

    Better late than never: we look back at what Microsoft put in the Power Pages section of the last-ever Power Platform release wave. The twice-yearly release-wave model is now being replaced by continuous updates on the...

    Credit the people on this episode

  3. jQuery or Not, Client-Side API Will Always Start with a $

    Apr 4, 202622 minAudio

    Power Pages is having a surprisingly good run. In this episode we dig into server-side logic debugging, the new client-side API, and why both feel about 15 years late yet still genuinely useful. We also look at Omar...

    Credit the people on this episode

  4. Hide your dirty laundry on the server-side

    Jan 22, 202628 minAudio

    15 years too late but it's finally here: server-side logic in Power Pages. What does it change in practice? Unlike Azure Functions, it's just another Power Pages asset that can be added to Power Platform ALM. Perfect...

    Credit the people on this episode

  5. End Of The World As We Know It: Security Leaks In Power Pages

    Aug 17, 202534 minAudio

    In this episode, we take a close look at the history of security issues in Power Pages. We start with the early days - when simple misconfigurations like unchecked table permissions and enabled OData feeds led to major...

    Credit the people on this episode