Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Identity and Access Management with Microsoft Azure

You're reading from   Mastering Identity and Access Management with Microsoft Azure Empower users by managing and protecting identities and data

Arrow left icon
Product type Paperback
Published in Feb 2019
Publisher Packt
ISBN-13 9781789132304
Length 698 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jochen Nickel Jochen Nickel
Author Profile Icon Jochen Nickel
Jochen Nickel
Jochen Nickel Jochen Nickel
Author Profile Icon Jochen Nickel
Jochen Nickel
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

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

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...
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 €18.99/month. Cancel anytime