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
Learning Microsoft Azure

You're reading from   Learning Microsoft Azure A comprehensive guide to cloud application development using Microsoft Azure

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher Packt
ISBN-13 9781782173373
Length 430 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Geoff Webber Cross Geoff Webber Cross
Author Profile Icon Geoff Webber Cross
Geoff Webber Cross
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with Microsoft Azure FREE CHAPTER 2. Designing a System for Microsoft Azure 3. Starting to Develop with Microsoft Azure 4. Creating and Managing a Windows Azure SQL Server Database 5. Building Azure MVC Websites 6. Azure Website Diagnostics and Debugging 7. Azure Service Bus Topic Integration 8. Building Worker Roles 9. Cloud Service Diagnostics, Debugging, and Configuration 10. Web API and Client Integration 11. Integrating a Mobile Application Using Mobile Services 12. Preparing an Azure System for Production Index

Adding a client application to AD

Before we can connect to the Web API from our client application, we need to add it to our Azure AD with permissions to access the Web API application. We'll do this in the following procedure:

  1. Navigate to the AD workspace in the Azure portal.
  2. Click on ADD on the APPLICATIONS toolbar of our Azure Bakery tenant:
    Adding a client application to AD
  3. Then, select Add an application my organization is developing:
    Adding a client application to AD
  4. Enter the application NAME, select NATIVE CLIENT APPLICATION (the other option is for web applications), and click on the next arrow:
    Adding a client application to AD
  5. Next, enter a value for REDIRECT URI (this just needs to be a valid URI for the redirect after the OAuth2 request and is not used in this implementation), and click on the tick button to complete:
    Adding a client application to AD
  6. Now, we need to add permission to ManagementWebApi, so scroll to the permissions to other applications section at the bottom of the CONFIGURATION tab and add a new permission for ManagementWebApi, which should now appear in the list after our manifest modification...
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