Windows Azure Pack: Active Directory Authentication – Part 3

Welcome back to this series about Windows Azure Pack – Active Directory Authentication. Azure Directory is now configured as an identity provider, we will focus on the final WAP Configuration to use Azure Directory for our tenants authentication.

It’s time to go back to Microsoft Azure and open our Access Control Service site. There we have to click on Application Integration and copy the WS-Federation Metada url as below.

Your WS-Federation Metada url should looks like to the following: https://vnextlab.accesscontrol.windows.net/FederationMetadata/2007-06/FederationMetadata.xml
Update the PowerShell script below with your own values:

$dbServer = 'sql001.vnextlab.be'
$dbuser = 'sa'
$dbPassword = '*******'
$portalnectionString = [string]::Format('Data Source={0};Initial Catalog=Microsoft.MgmtSvc.PortalConfigStore;User ID={1};Password={2}', $dbServer, $dbuser, $dbPassword)
  
Set-MgmtSvcRelyingPartySettings -Target @("Tenant") `
 -MetadataEndpoint https://vnextlab.accesscontrol.windows.net/FederationMetadata/2007-06/FederationMetadata.xml `
 -ConnectionString $portalnectionString -DisableCertificateValidation 

Logon to the Windows Azure Pack server and start a Windows Azure Pack Administrator PowherSell prompt as Administrator. Copy/Paste the script updated with your own values.

Done, we are now all set and it’s time to test J

We have to start Internet Explorer and go to the Tenant Portal.

We are automatically redirected to our ACCESS Control Service we created in Microsoft Azure.

We have now to sign in with our Azure Active Directory credentials, which are in fact the same than our on premise Active Directory credentials thanks to DirSync.

And we finally have access to our Tenant Portal with our on premise Active Directory Credentials.

From the Management Portal, we could now assign a Subscription to our Account.

This is all for today, have a good day!

Christopher

Tweet about this on TwitterShare on FacebookShare on LinkedInShare on Google+Email this to someoneShare on TumblrPin on PinterestDigg thisShare on RedditFlattr the authorBuffer this pageShare on StumbleUpon

About Christopher Keyaert

Christopher Keyaert is a Consultant, focused on helping partners to leverage the System Center and Microsoft Azure cloud platform. He is also a Microsoft Most Valuable Professional (MVP) for Cloud and Data Center Management and a Microsoft Certified Trainer (MCT).
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *