Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Exchange Online microservice requires a key vault with a certificate for certificate-based authentication between the microservice and the service principal registered for it.

Create the key vault and certificate

  1. In Azure, create a Key vault if you do not already have one or want to create a new one.

  2. Navigate to the Certificate page for the key vault and click Generate/Import.

Image Removed
  1. Image Added

  2. Enter a Certificate Name and Subject and then click Create.

Image Removed
  1. Image Added

     

  2. After Azure creates the certificate, click the record for it and then download the certificate in CER format. You will add this to the service principal you created for the Exchange Online app service.

Image Removed
  1. Image Added

     

Add an access policy

  1. Navigate to the Access policies blade for the key vault.

  2. Click + Add Access Policy.

Image Removed
  1. Image Added

  2. Click the Certificate permissions drop-down and select Get.

Image Removed
  1. Image Added

  2. Under Select principal, click None Selected.

Image Removed
  1. Image Added

  2. Search for and select the Managed Identity for the Exchange Online App Service. Please note that the Managed Identity you select is the System Assigned Managed Identity you enabled for the app service.

Image Removed
  1. Image Added

  2. Click Select to select the principal.

  3. On the Add access policy blade, click Add.

Image Removed
  1. Image Added

Upload the certificate to the service principal

  1. Navigate to the Certificates & Secrets blade for the service principal you created for Exchange Online.

  2. Upload the certificate you downloaded from the key vault.

Next Steps

Provision a Cosmos DB Account for Exchange Online

Add application settings to the app service

Publish the Exchange Online Microservice
Div
stylefloat:left; position:fixed;
idarticleNav

IN THIS ARTICLE

Table of Contents
maxLevel4
minLevel2
stylenone
printablefalse

Insert excerpt
IL:External Stylesheet
IL:External Stylesheet
nopaneltrue