Try our conversational search powered by Generative AI!

Content Approvals With Azure AD


We have Azure AD set up using the standard setup and we have our Front End Users set up using Asp.NET Identity. This is all working fine but how are we supposed to setup content approvals?

At the moment the selection list for users/groups is only showing our identity users, how is this supposed to list Azure AD users as that's where our CMS editors are coming from?

Nov 19, 2018 17:11

Hey Scott

As far as I was aware users are cached in a table in SQL when they first log in (along with their claims) to allow selection in the UI. Has anyone ever logged in via Azure AD? Can't remember the table name but I am sure you can find it :)


Nov 21, 2018 16:17

Hi David, yes I looked in to the code and saw the User and Group syncronization classes, we also have the code


Within the UseOpenIdConnectAuthentication code for our login. 

I've checked the [SJA_Development_Episerver].[dbo].[AspNetUsers] but I can't see any of the AzureAD users in there. We use Asp.NET Identity for the front end of the site so have both configured in our startus.cs class. We see all the front end user logins but nothing seem to either being in the table or in the user admin UI.

Nov 21, 2018 16:22

David this seems to be an issue affecting others 

I've seen that the users are in the [tblSynchedUser] table but they aren't appearing in some of the more modern UI users pickers such as project comments and content approvals

Nov 22, 2018 14:57

I've dug around to hell in the assemblies and tracked through the NotificationUserStore and the problem seems to be around IQueryableNotificationUsers

This is the service interface that gets the users and is implemented by both AspNetIdentitySecurityEntityProvider and DefaultSynchronizedUsersRepository and when getting the IQueryableNotificationUsers service this seems to be coming back as the AspNetIdentitySecurityEntityProvider which is returning the wrong users. I need to swap it but the DefaultSynchronizedUsersRepository seems to be an internal only class.

@David is there any configuration you know of that can sort this out, I'm so close but just need this last step?

Nov 22, 2018 15:29

I think it's a bug, I've posted a work around here

Nov 22, 2018 15:58

Thanks for posting your work around Scott :)! And thanks for raising as a bug to bring it to dev support's attention!

Nov 23, 2018 10:25

Thanks David forf your help, I think if we were just able to make the DefaultSynchronizedUsersRepository public then developers can register it in the dependency configuration and even extend it if needed, either way the documentation on the security section should be updated so users know if the future how to set it up whatever way you guys go.

Nov 23, 2018 11:38

David/Scott, was this considered to be an official bug? If so, is there a planned fix?


Dec 12, 2018 13:49

I have some posts on the need for customizing this as well.

(there's another link inside there as well...)

Would be great if more people laid pressure.

Jan 09, 2019 10:14

@Erik I added it to the bugs area of the forum and I think David raised it offically. No word on it tho

Jan 09, 2019 10:22

Sorry Scott, I thought you raised it as a bug already...

Jan 09, 2019 14:52
Jonas Boman - Aug 03, 2022 7:50
Hi David. Do you know if this is reported as a bug yet?

Apologies in had only raised it before we said in the section of the forum not in the support portal.

Jan 09, 2019 15:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.