Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Identity and Access Management with Microsoft Azure. - Second Edition

You're reading from  Mastering Identity and Access Management with Microsoft Azure. - Second Edition

Product type Book
Published in Feb 2019
Publisher Packt
ISBN-13 9781789132304
Pages 698 pages
Edition 2nd Edition
Languages
Author (1):
Jochen Nickel Jochen Nickel
Profile icon Jochen Nickel

Table of Contents (23) Chapters

Title Page
Copyright and Credits
About Packt
Contributors
Preface
1. Building and Managing Azure Active Directory 2. Understanding Identity Synchronization 3. Exploring Advanced Synchronization Concepts 4. Monitoring Your Identity Bridge 5. Configuring and Managing Identity Protection 6. Managing Authentication Protocols 7. Deploying Solutions on Azure AD and ADFS 8. Using the Azure AD App Proxy and the Web Application Proxy 9. Deploying Additional Applications on Azure AD 10. Exploring Azure AD Identity Services 11. Creating Identity Life Cycle Management in Azure 12. Creating a Security Culture 13. Identifying and Detecting Sensitive Data 14. Understanding Encryption Key Management Strategies 15. Configuring Azure Information Protection Solutions 16. Azure Information Protection Development 1. Other Books You May Enjoy Index

Moving the single-tenant app to a multi-tenant scenario


In this section, we'll reconfigure the application to work as a multi-tenant application that you can use from other Azure AD tenants or a Microsoft personal account. With the following configuration we migrate the application:

  1. Open the Startup.cs file in your solution:
    • Comment the ConfigureAuth(app) line
    • Uncomment the ConfigureMultitenantAuth(app) line:

Modifying the code for multi-tenant usage

  1. Change the ida:TenantId value to our Azure AD domain name:

Changing the tenant ID

  1. Press F5 in Visual Studio to build and run the app.
  2. A new app will be available in Azure AD, but the users don't have roles assigned:

Check the role assignment for the newly created app

  1. Reassign the roles to the users:

Reassign roles

  1. Test logging in with your users and check the application.
  2. Test logging in with a user from another Azure AD or a Microsoft personal account.
  3. You should be able to log in:

Check the login with the guest user account

Note

You can find more information...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}