Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Website in Azure Active DirectoryDNN Website in Azure Active Directory
New Post
6/9/2015 7:40 AM



I have DNN website on Azure, everythink is works well. I wonder if it possible to register my DNN web app in azure active directory as application and use AAD as identity provider for DNN. My goal is provide single sign on between DNN web app and the other azure applications. Please let me know if it possible.


Best Regards, Marta

New Post
6/16/2015 5:58 PM
Hi Marta,

I've just released an open source Azure Active Directory provider for DNN Platform, available at

Hope this helps!

David Rodriguez
DNN Cloud Team Lead Engineer | Microsoft Azure MVP | Microsoft Azure Insider / Advisor

New Post
6/22/2015 7:51 AM

Hi David!

Thank you for your sample - this is exactly what I wanted. 

I did everything according to your instructions (I have DNNv7.4.1), but I get error in class OAuthLoginBase, in line:  OAuthClient.AuthenticateUser(GetCurrentUser(), PortalSettings, IPAddress, AddCustomProperties, OnUserAuthenticated);. "An exception of type 'System.NullReferenceException' occurred in DotNetNuke.Authentication.Azure.dll but was not handled in user code"

Moreover I don't feel completely how authentication with the use of AAD works in DNN: each user from AAD is created in the DNN membership database? The API you mentioned in your tutorial should have specified structure? Or it may be it's only sample and any standard WEBAPI registered and authorized by AAD will be ok?

I'll be grateful for the explanation of my doubts


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Website in Azure Active DirectoryDNN Website in Azure Active Directory

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?