Quantcast
Channel: Marcel Meijer Blog
Viewing all articles
Browse latest Browse all 70

WAAD – Integrate with Web App

$
0
0

I showed the following screenshot already in my previous blogpost about Windows Azure Active Directory. I told you I would show you more of it.

waad01 

If you follow the Wizard, the site will go humming for a moment and the following appears. Your Website is connected to your Active directory.

waad02

The Federation Metadata document URL will be needed in a moment in Visual Studio.

 waad03

 waad04

It is a quick demo which the naming is showing ;-) I started Visual Studio and I did File –> New Project. Afterwards I choose my personal favorite a MVC 4 website. On the Web application portal right mouse click. You chose for ‘Identity and Access’.

 waad07

Then take option 2 and copy the Federation Metadata URL from the portal in it.

 waad08

Then F5 in Visual Studio. Your web application runt and shows the login window. I did not do anything.

 waad09

If you use a user from your AD, that user will gain access to your amazing web application.

 waad10

How cool is that! This opens a lot of superb possibilities for many companies and their private applications. This makes an Office 365 subscription even more interesting!

Ok, I tweaked it a little. Running it out of the box will give this error message. Some complaining about the Antiforgery token.

 waad11

 waad12

The solution is relative simple.

 waad13

To revoke the Office 365 users access to the application. Click the following menu.

 waad05

Choose the ‘Remove app’ choice.

 waad06

And the users will get this fine error ;-)

waad14

Anyway, how cool is this. And I did not show you how you can access the AD User data via the WAAD Graph API. This will even extend the possibilities even more!  But more about that in a future blogpost ;-)


Viewing all articles
Browse latest Browse all 70

Trending Articles