Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
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:

  3. Then, select Add an application my organization is developing:

  4. Enter the application NAME, select NATIVE CLIENT APPLICATION (the other option is for web applications), and click on the next arrow:

  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:

  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. Now...