DKE Troubleshooting

Published 03-31-2021 03:48 PM 1,812 Views
Microsoft

The following blog post helps you troubleshoot the reference implementation for DKE. Some of this information may apply to DKE partner implementations as well, but it covers primarily the reference implementation hosted in Azure or on IIS. At any rate, this guide does not replace the official documentation

This blog post consists of three parts:

  • Part A: Checklist
  • Part B: Useful tools for troubleshooting DKE
  • Part C: Step by step troubleshooting guide

 

Part A: Checklist

After installing / configuring DKE using the official documentation, going through this checklist will help you in identifying and correcting errors in your setup.

The troubleshooting guide below refers to some of the steps in this checklist, using the codes prepended to the titles of the sections (e.g. «CL1»).

 

CL1: Office version

DKE is supported on Microsoft 365 Apps for enterprise version 2009 or later. Here’s how you check the version:

Pic1-1.jpg

 

CL2: DKE URL in root

The DKE service URL needs to be based on the root level, i.e. not a sub directory:

 

CL3: No trailing slash in DKE URL

The DKE URL must not contain a trailing slash:

 

CL4: Outbound connectivity to Azure AD

In order to perform Azure AD authentication, the DKE service needs to have transparent outbound connectivity as described in box 56 of our documentation:

Pic1-1a.jpg

By adapting the source code of the DKE reference implementation, you may also use a forward proxy. The necessary changes have been implemented in an open pull request. Please observe that an anonymous proxy is required for this, i.e. a proxy that allows access to the necessary URLs without authentication.

 

CL5: Permissions in the sensitivity label used for DKE

The sensitivity label used for DKE protection needs to provide sufficient permissions for all intended recipients of the documents. During the test phase, it’s suggested to grant permission to the whole tenant:

Pic1-2.jpg

 

After DKE has been tested successfully, it’s good practice to remove permissions on the sensitivity label for users and groups that are not allowed to access the DKE service.

 

CL6: Web application configuration

In the «Authentication» section of the DKE web application registration, verify that the redirect URI does not contain a trailing slash (see also CL3):

Pic1-2a.jpg

 

In the section “API permissions”, make sure the whole tenant has been granted consent to “User.Read”:

Pic1-2b.jpg

 

Check that these points have been addressed in the section “Expose an API”:

  • The “Application ID URI” is configured as the DKE URL.
  • Client Ids are registered both for Office (d3590ed6-52b3-4102-aeff-aad2292ab01c) and the AIP (Azure Information Protection) client (c00e9d32-3c8d-4a7d-832b-029040e7db99).

Pic1-4.jpg

 

CL7: Recipients are allowed to use the DKE service

The DKE service authorizes users either via a list of email addresses or via membership in a local AD group. Either way, you have to ensure all test users are allowed to access the DKE service.
If you use email-based authorization, make sure email addresses of all users are included in the list of email addresses in the configuration file. Please observe that each individual user email address needs to be in quotes, e.g. ["jane.doe@contoso.com","albert.smith@contoso.com"].

 

CL8: Client connectivity to DKE and Azure AD

For acquiring the public key and for decrypting existing keys, clients needs to be able to reach the DKE service. To allow authentication, clients also require access to Azure AD.
Both transparent connectivity and forward proxies (with or without authentication) are supported.

 

CL9: DKE-related registry values are set on each client

Ensure the following registry values are defined on each client, please observe that some of the registry keys may also need to be created:

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\MSIPC\flighting]
"DoubleKeyProtection"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSIPC\flighting]
"DoubleKeyProtection"=dword:00000001

 

CL10: Tenant is listed in the TrustedIssuers value

Check the following setting in the ‘TokenValidationParameters’ section of the DKE configuration file:
In ‘ValidIssuers’, your Azure AD tenant needs to be listed (e.g. «https://sts.windows.net/ 7d024093-e9a7-47e4-a205-bbbd4eed8e3a/»).

 

CL11: The host name in the "JwtAudience" is correct (case sensitive)

Ensure the host name contained in the "JwtAudience" value of the DKE configuration is identical to the host name in the DKE URL (including case).

 

Part B: Useful tools for troubleshooting DKE

The following tools have proven to be useful in debugging DKE installations.
Codes prepended to the titles of the sections (e.g. «T4») are again referenced in the step by step troubleshooting guide.

 

T1: Fiddler trace

Fiddler allows you to see the communication between the client and the DKE service in detail. To get a trace, consider performing the following steps:

  1. Install and launch Fiddler, available on https://www.telerik.com/fiddler.
  2. Select «Tools\Options», switch to tab «HTTPS», check option «Decrypt HTTPS» traffic, click OK and acknowledge prompts for installing a root certificate.
  3. Try to reproduce the issue you want to debug.

In a Fiddler trace, you may check the communication with the DKE service.

 

T2: Export AIP Logs

In the Word toolbar, select «Sensitivity». Choose option «Help and Feedback» and click on «Export Logs»:

Pic2-1.jpg

The ZIP file contains the relevant logs, for instance the MSIPC logs which cover DKE activity of the client.

 

T3: Web Server Logs

The web server logs show two kinds of activities:

  1. Clients downloading the public key (when protecting content with DKE)
  2. DKE clients attempting to run decrypt operations (when opening DKE protected content)

Repeated attempts for decrypt operations where the server responds with 401 would indicate authentication issues.
If clients fail to protect content with DKE labels and there’s no activity in the web server logs, likely there’s a misconfiguration or a connectivity issue.

 

T4: Event logs

Check the event logs for any exception messages.
If you installed the DKE service on IIS, you’ll find the event log in «Windows Event Viewer», «Application log».
If you’re hosting the DKE service on an Azure web app, you’ll find the event log as follows:

  1. Go to your App Service
  2. Open left-hand menu, "Diagnose and solve problems"
  3. Select «Diagnostic Tools» (in the main pane)
  4. Open «Support Tools/Application Event Logs» on the left-hand menu of the new screen

 

Part C: Step by Step guide

In order to narrow down which piece is missing, we suggest to perform the troubleshooting in the following order:

  1. Check the web site with the validation script.
  2. Try to save a document protected with a DKE label.
  3. Have another user open a DKE protected document.
  4. Let a user re-label a DKE protected document by right-clicking the document and selecting «classify and protect».

Some resolution steps refer to checklist items and tools. The reference uses codes that are prepended to the titles of the checklist items (e.g. «CL1») and tools (e.g. «T4»).

 

Step 1: Check the web site with the validation script

We suggest to run the validation script:

[…]\DoubleKeyEncryptionService\src\customer-key-store\scripts> .\key_store_tester.ps1 <DKE URL>/<Key>

If this is successful, please proceed with step 2.

However you may see the following output:

Validation request started: <DKE URL>/<Key>
Validation failure: Unable to access the provided url Not Found

Similarly, a 404 error is issued when you open the URL in a web browser.
This indicates one of the following issues:

Potential issue

Suggested resolution steps

The URL is not correct.

Double-check the URL, please observe that the key name in the URL is case sensitive.

There’s an internal exception in the web site.

Check the event log on the DKE service (see tool T4).

 

Step 2: Try to save a document protected with a DKE label

(Ensure the DKE label has defined «Allow offline access:» as «Always».)
Saving the document successfully shows the client can reach the DKE service anonymously and the service provides a suitable RSA key. In this case, please proceed with step 3.
But you might encounter this behavior:
Despite having ample space on a disk (or on OneDrive), the following message is shown when saving a DKE protected document: «Word cannot save or create this file. Make sure the disk you want to save the file on it is not full, write-protected, or damaged.»
This indicates one of the following issues:

Potential issue

Suggested resolution steps

The client is not configured to use DKE.

Re-check the Office version (see checklist item CL1).

Verify the DKE registry keys have been imported on the client (see checklist item CL9).

The client cannot reach the DKE service.

On the client, try opening the DKE-URL configured in the sensitivity label. If that fails, fix the network issue as needed.

 

Step 3: Have another user open a DKE protected document

If user1 protects a document with DKE and user2 succeeds in opening this document, users can be authenticated to DKE. In this case you may proceed with step 4.
But a user trying to open a DKE document not protected by herself may see the following error message:
«You are not signed in to Office with an account that has permission to open this document. You may sign in a new account into Office that has permission or request permission from the content owner.»
This indicates one of the following issues:

Potential issue

Suggested resolution steps

The user hasn’t been granted permission in the sensitivity label.

During tests, try granting the whole tenant access in the sensitivity label permissions (see checklist item CL5).

The DKE service URL contains a sub-folder.

Verify that the DKE URL consists of the FQDN only (see checklist item CL2).

The web application isn’t configured correctly.

Check the settings in the web application (see checklist item CL6).

The DKE service is hosted on IIS, but it cannot reach Azure AD due to lacking outbound Internet connectivity.

Check for exception «System.InvalidOperationException: IDX20803: Unable to obtain configuration» in the event viewer (see tool T4).

If this exception occurs, make sure the DKE service has outbound connectivity.

The configuration file doesn’t grant permission for the tenant.

Ensure «TrustedIssuers» contains the tenant specific URL (see checklist item CL10).

DKE doesn’t authorize the user to access the service.

Check the authorization option (see checklist item CL7).

The host name in the "JwtAudience" doesn't exactly match the host name in the DKE URL (including case).

Check the exact spelling of the host name, including case (see checklist item CL11).

 

Step 4: Let a user re-label her own DKE protected document with right-click, «classify and protect»

(For this test, the user has protected the document herself in Office.)
If the user succeeds in re-labeling this protected document with right-click, the AIP client is also registered with the web application and an Office version supporting DKE is installed.
However, the user may see the following error message in the AIP client:
«An unknown error occurred. If this problem persists, contact your administrator or help desk.»
This indicates one of the following issues:

Potential issue

Suggested resolution steps

The client doesn’t have the correct Office version installed.

Re-check the Office version (see checklist item CL1).

The AIP client is not registered in the web application.

Check whether the client ID for the AIP client has also been registered in the web application (see checklist item CL6).

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2234252%22%20slang%3D%22en-US%22%3EDKE%20Troubleshooting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2234252%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3EThe%20following%20blog%20post%20helps%20you%20troubleshoot%20the%20reference%20implementation%20for%20DKE.%26nbsp%3BSome%20of%20this%20information%20may%20apply%20to%20DKE%20partner%20implementations%20as%20well%2C%20but%20it%20covers%20primarily%20the%20reference%20implementation%20hosted%20in%20Azure%20or%20on%20IIS.%20At%20any%20rate%2C%20this%20guide%20does%20not%20replace%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fdouble-key-encryption%3Fview%3Do365-worldwide%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eofficial%20documentation%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20blog%20post%20consists%20of%20three%20parts%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EPart%20A%3A%20Checklist%3C%2FLI%3E%0A%3CLI%3EPart%20B%3A%20Useful%20tools%20for%20troubleshooting%20DKE%3C%2FLI%3E%0A%3CLI%3EPart%20C%3A%20Step%20by%20step%20troubleshooting%20guide%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--496400048%22%20id%3D%22toc-hId--497441746%22%3EPart%20A%3A%20Checklist%3C%2FH2%3E%0A%3CP%3EAfter%20installing%20%2F%20configuring%20DKE%20using%20the%20official%20documentation%2C%20going%20through%20this%20checklist%20will%20help%20you%20in%20identifying%20and%20correcting%20errors%20in%20your%20setup.%3C%2FP%3E%0A%3CP%3EThe%20troubleshooting%20guide%20below%20refers%20to%20some%20of%20the%20steps%20in%20this%20checklist%2C%20using%20the%20codes%20prepended%20to%20the%20titles%20of%20the%20sections%20(e.g.%20%C2%ABCL1%C2%BB).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-194161426%22%20id%3D%22toc-hId-193119728%22%3ECL1%3A%20Office%20version%3C%2FH3%3E%0A%3CP%3EDKE%20is%20supported%20on%20Microsoft%20365%20Apps%20for%20enterprise%20version%202009%20or%20later.%20Here%E2%80%99s%20how%20you%20check%20the%20version%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic1-1.jpg%22%20style%3D%22width%3A%20977px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268327i81325C2D392555EE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic1-1.jpg%22%20alt%3D%22Pic1-1.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1613293037%22%20id%3D%22toc-hId--1614334735%22%3ECL2%3A%20DKE%20URL%20in%20root%3C%2FH3%3E%0A%3CP%3EThe%20DKE%20service%20URL%20needs%20to%20be%20based%20on%20the%20root%20level%2C%20i.e.%20%3CSTRONG%3Enot%3C%2FSTRONG%3E%20a%20sub%20directory%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWorking%20example%3A%20%3CA%20href%3D%22https%3A%2F%2Fdkeservice.contoso.com%2Fsamplekey1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdkeservice.contoso.com%2Fsamplekey1%3C%2FA%3E%20%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EThis%20example%20does%20%3CSTRONG%3Enot%3C%2FSTRONG%3E%20work%3A%20%3CA%20href%3D%22https%3A%2F%2Fwebserver.contoso.com%2Fdkeservice%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwebserver.contoso.com%2F%3CSTRONG%3Edkeservice%3C%2FSTRONG%3E%3C%2FA%3E%3CSPAN%3E%2Fsamplekey1%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-874219796%22%20id%3D%22toc-hId-873178098%22%3E%3CSPAN%3ECL3%3A%20No%20trailing%20slash%20in%20DKE%20URL%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3EThe%20DKE%20URL%20must%20not%20contain%20a%20trailing%20slash%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWorking%20example%3A%20%3CA%20href%3D%22https%3A%2F%2Fdkeservice.contoso.com%2Fsamplekey1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdkeservice.contoso.com%2Fsamplekey1%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EThis%20example%20does%20%3CSTRONG%3Enot%3C%2FSTRONG%3E%20work%3A%20%3CA%20style%3D%22background-color%3A%20%23ffffff%3B%22%20href%3D%22https%3A%2F%2Fdkeservice.contoso.com%2Fsamplekey1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdkeservice.contoso.com%2Fsamplekey1%3C%2FA%3E%3CSTRONG%3E%2F%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--933234667%22%20id%3D%22toc-hId--934276365%22%3ECL4%3A%20Outbound%20connectivity%20to%20Azure%20AD%3C%2FH3%3E%0A%3CP%3EIn%20order%20to%20perform%20Azure%20AD%20authentication%2C%20the%20DKE%20service%20needs%20to%20have%20transparent%20outbound%20connectivity%20as%20described%20in%20box%2056%20of%20our%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Furls-and-ip-address-ranges%3Fview%3Do365-worldwide%23microsoft-365-common-and-office-online%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic1-1a.jpg%22%20style%3D%22width%3A%20934px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268329i6B2EAD56BAF820EA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic1-1a.jpg%22%20alt%3D%22Pic1-1a.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBy%20adapting%20the%20source%20code%20of%20the%20DKE%20reference%20implementation%2C%20you%20may%20also%20use%20a%20forward%20proxy.%20The%20necessary%20changes%20have%20been%20implemented%20in%20an%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure-Samples%2FDoubleKeyEncryptionService%2Fpull%2F31%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eopen%20pull%20request%3C%2FA%3E.%26nbsp%3BPlease%20observe%20that%20an%20anonymous%20proxy%20is%20required%20for%20this%2C%20i.e.%20a%20proxy%20that%20allows%20access%20to%20the%20necessary%20URLs%20without%20authentication.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1554278166%22%20id%3D%22toc-hId-1553236468%22%3ECL5%3A%20Permissions%20in%20the%20sensitivity%20label%20used%20for%20DKE%3C%2FH3%3E%0A%3CP%3EThe%20sensitivity%20label%20used%20for%20DKE%20protection%20needs%20to%20provide%20sufficient%20permissions%20for%20all%20intended%20recipients%20of%20the%20documents.%20During%20the%20test%20phase%2C%20it%E2%80%99s%20suggested%20to%20grant%20permission%20to%20the%20whole%20tenant%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic1-2.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268331i3511EBF51C6E7CC5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic1-2.jpg%22%20alt%3D%22Pic1-2.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20DKE%20has%20been%20tested%20successfully%2C%20it%E2%80%99s%20good%20practice%20to%20remove%20permissions%20on%20the%20sensitivity%20label%20for%20users%20and%20groups%20that%20are%20not%20allowed%20to%20access%20the%20DKE%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--253176297%22%20id%3D%22toc-hId--254217995%22%3ECL6%3A%20Web%20application%20configuration%3C%2FH3%3E%0A%3CP%3EIn%20the%20%C2%ABAuthentication%C2%BB%20section%20of%20the%20DKE%20web%20application%20registration%2C%20verify%20that%20the%20redirect%20URI%20does%20not%20contain%20a%20trailing%20slash%20(see%20also%20CL3)%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic1-2a.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268333i3DE0DB9C94D0EC3E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic1-2a.jpg%22%20alt%3D%22Pic1-2a.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20section%20%E2%80%9CAPI%20permissions%E2%80%9D%2C%20make%20sure%20the%20whole%20tenant%20has%20been%20granted%20consent%20to%20%E2%80%9CUser.Read%E2%80%9D%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic1-2b.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268334iF5182AA7D3126042%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic1-2b.jpg%22%20alt%3D%22Pic1-2b.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECheck%20that%20these%20points%20have%20been%20addressed%20in%20the%20section%20%E2%80%9CExpose%20an%20API%E2%80%9D%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20%E2%80%9CApplication%20ID%20URI%E2%80%9D%20is%20configured%20as%20the%20DKE%20URL.%3C%2FLI%3E%0A%3CLI%3EClient%20Ids%20are%20registered%20both%20for%20Office%20(d3590ed6-52b3-4102-aeff-aad2292ab01c)%20and%20the%20AIP%20(Azure%20Information%20Protection)%20client%20(c00e9d32-3c8d-4a7d-832b-029040e7db99).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic1-4.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268338i97FC9A87C6294581%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic1-4.jpg%22%20alt%3D%22Pic1-4.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--2060630760%22%20id%3D%22toc-hId--2061672458%22%3ECL7%3A%20Recipients%20are%20allowed%20to%20use%20the%20DKE%20service%3C%2FH3%3E%0A%3CP%3EThe%20DKE%20service%20authorizes%20users%20either%20via%20a%20list%20of%20email%20addresses%20or%20via%20membership%20in%20a%20local%20AD%20group.%20Either%20way%2C%20you%20have%20to%20ensure%20all%20test%20users%20are%20allowed%20to%20access%20the%20DKE%20service.%3CBR%20%2F%3EIf%20you%20use%20email-based%20authorization%2C%20make%20sure%20email%20addresses%20of%20all%20users%20are%20included%20in%20the%20list%20of%20email%20addresses%20in%20the%20configuration%20file.%20Please%20observe%20that%20each%20individual%20user%20email%20address%20needs%20to%20be%20in%20quotes%2C%20e.g.%20%5B%22jane.doe%40contoso.com%22%2C%22albert.smith%40contoso.com%22%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-426882073%22%20id%3D%22toc-hId-425840375%22%3ECL8%3A%20Client%20connectivity%20to%20DKE%20and%20Azure%20AD%3C%2FH3%3E%0A%3CP%3EFor%20acquiring%20the%20public%20key%20and%20for%20decrypting%20existing%20keys%2C%20clients%20needs%20to%20be%20able%20to%20reach%20the%20DKE%20service.%20To%20allow%20authentication%2C%20clients%20also%20require%20access%20to%20Azure%20AD.%20%3CBR%20%2F%3EBoth%20transparent%20connectivity%20and%20forward%20proxies%20(with%20or%20without%20authentication)%20are%20supported.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1380572390%22%20id%3D%22toc-hId--1381614088%22%3ECL9%3A%20DKE-related%20registry%20values%20are%20set%20on%20each%20client%3C%2FH3%3E%0A%3CP%3EEnsure%20the%20following%20registry%20values%20are%20defined%20on%20each%20client%2C%20please%20observe%20that%20some%20of%20the%20registry%20keys%20may%20also%20need%20to%20be%20created%3A%3C%2FP%3E%0A%3CPRE%3E%5BHKEY_LOCAL_MACHINE%5CSOFTWARE%5CWOW6432Node%5CMicrosoft%5CMSIPC%5Cflighting%5D%3CBR%20%2F%3E%22DoubleKeyProtection%22%3Ddword%3A00000001%3CBR%20%2F%3E%5BHKEY_LOCAL_MACHINE%5CSOFTWARE%5CMicrosoft%5CMSIPC%5Cflighting%5D%3CBR%20%2F%3E%22DoubleKeyProtection%22%3Ddword%3A00000001%3C%2FPRE%3E%0A%3CH3%20id%3D%22toc-hId-411776964%22%20id%3D%22toc-hId-410735266%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--1395677499%22%20id%3D%22toc-hId--1396719197%22%3ECL10%3A%20Tenant%20is%20listed%20in%20the%20TrustedIssuers%20value%3C%2FH3%3E%0A%3CP%3ECheck%20the%20following%20setting%20in%20the%20%E2%80%98TokenValidationParameters%E2%80%99%20section%20of%20the%20DKE%20configuration%20file%3A%3CBR%20%2F%3EIn%20%E2%80%98ValidIssuers%E2%80%99%2C%20your%20Azure%20AD%20tenant%20needs%20to%20be%20listed%20(e.g.%20%C2%AB%3CA%20href%3D%22https%3A%2F%2Fsts.windows.net%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsts.windows.net%2F%3C%2FA%3E%207d024093-e9a7-47e4-a205-bbbd4eed8e3a%2F%C2%BB).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1091835334%22%20id%3D%22toc-hId-1090793636%22%3ECL11%3A%20The%20host%20name%20in%20the%20%22JwtAudience%22%20is%20correct%20(case%20sensitive)%3C%2FH3%3E%0A%3CP%3EEnsure%20the%20host%20name%20contained%20in%20the%20%22JwtAudience%22%20value%20of%20the%20DKE%20configuration%20is%20identical%20to%20the%20host%20name%20in%20the%20DKE%20URL%20(including%20case).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--844701848%22%20id%3D%22toc-hId--845743546%22%3EPart%20B%3A%20Useful%20tools%20for%20troubleshooting%20DKE%3C%2FH2%3E%0A%3CP%3EThe%20following%20tools%20have%20proven%20to%20be%20useful%20in%20debugging%20DKE%20installations.%20%3CBR%20%2F%3ECodes%20prepended%20to%20the%20titles%20of%20the%20sections%20(e.g.%20%C2%ABT4%C2%BB)%20are%20again%20referenced%20in%20the%20step%20by%20step%20troubleshooting%20guide.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1771893704%22%20id%3D%22toc-hId-1770852006%22%3ET1%3A%20Fiddler%20trace%3C%2FH3%3E%0A%3CP%3EFiddler%20allows%20you%20to%20see%20the%20communication%20between%20the%20client%20and%20the%20DKE%20service%20in%20detail.%20To%20get%20a%20trace%2C%20consider%20performing%20the%20following%20steps%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EInstall%20and%20launch%20Fiddler%2C%20available%20on%20%3CA%20href%3D%22https%3A%2F%2Fwww.telerik.com%2Ffiddler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.telerik.com%2Ffiddler%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ESelect%20%C2%ABTools%5COptions%C2%BB%2C%20switch%20to%20tab%20%C2%ABHTTPS%C2%BB%2C%20check%20option%20%C2%ABDecrypt%20HTTPS%C2%BB%20traffic%2C%20click%20OK%20and%20acknowledge%20prompts%20for%20installing%20a%20root%20certificate.%3C%2FLI%3E%0A%3CLI%3ETry%20to%20reproduce%20the%20issue%20you%20want%20to%20debug.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EIn%20a%20Fiddler%20trace%2C%20you%20may%20check%20the%20communication%20with%20the%20DKE%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--35560759%22%20id%3D%22toc-hId--36602457%22%3ET2%3A%20Export%20AIP%20Logs%3C%2FH3%3E%0A%3CP%3EIn%20the%20Word%20toolbar%2C%20select%20%C2%ABSensitivity%C2%BB.%20Choose%20option%20%C2%ABHelp%20and%20Feedback%C2%BB%20and%20click%20on%20%C2%ABExport%20Logs%C2%BB%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Pic2-1.jpg%22%20style%3D%22width%3A%20349px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F268343iECF2CF6F86A8BD94%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Pic2-1.jpg%22%20alt%3D%22Pic2-1.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20ZIP%20file%20contains%20the%20relevant%20logs%2C%20for%20instance%20the%20MSIPC%20logs%20which%20cover%20DKE%20activity%20of%20the%20client.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1843015222%22%20id%3D%22toc-hId--1844056920%22%3ET3%3A%20Web%20Server%20Logs%3C%2FH3%3E%0A%3CP%3EThe%20web%20server%20logs%20show%20two%20kinds%20of%20activities%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EClients%20downloading%20the%20public%20key%20(when%20protecting%20content%20with%20DKE)%3C%2FLI%3E%0A%3CLI%3EDKE%20clients%20attempting%20to%20run%20decrypt%20operations%20(when%20opening%20DKE%20protected%20content)%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3ERepeated%20attempts%20for%20decrypt%20operations%20where%20the%20server%20responds%20with%20401%20would%20indicate%20authentication%20issues.%20%3CBR%20%2F%3EIf%20clients%20fail%20to%20protect%20content%20with%20DKE%20labels%20and%20there%E2%80%99s%20no%20activity%20in%20the%20web%20server%20logs%2C%20likely%20there%E2%80%99s%20a%20misconfiguration%20or%20a%20connectivity%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-644497611%22%20id%3D%22toc-hId-643455913%22%3ET4%3A%20Event%20logs%3C%2FH3%3E%0A%3CP%3ECheck%20the%20event%20logs%20for%20any%20exception%20messages.%20%3CBR%20%2F%3EIf%20you%20installed%20the%20DKE%20service%20on%20IIS%2C%20you%E2%80%99ll%20find%20the%20event%20log%20in%20%C2%ABWindows%20Event%20Viewer%C2%BB%2C%20%C2%ABApplication%20log%C2%BB.%3CBR%20%2F%3EIf%20you%E2%80%99re%20hosting%20the%20DKE%20service%20on%20an%20Azure%20web%20app%2C%20you%E2%80%99ll%20find%20the%20event%20log%20as%20follows%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EGo%20to%20your%20App%20Service%3C%2FLI%3E%0A%3CLI%3EOpen%20left-hand%20menu%2C%20%22Diagnose%20and%20solve%20problems%22%3C%2FLI%3E%0A%3CLI%3ESelect%20%C2%ABDiagnostic%20Tools%C2%BB%20(in%20the%20main%20pane)%3C%2FLI%3E%0A%3CLI%3EOpen%20%C2%ABSupport%20Tools%2FApplication%20Event%20Logs%C2%BB%20on%20the%20left-hand%20menu%20of%20the%20new%20screen%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1292039571%22%20id%3D%22toc-hId--1293081269%22%3EPart%20C%3A%20Step%20by%20Step%20guide%3C%2FH2%3E%0A%3CP%3EIn%20order%20to%20narrow%20down%20which%20piece%20is%20missing%2C%20we%20suggest%20to%20perform%20the%20troubleshooting%20in%20the%20following%20order%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECheck%20the%20web%20site%20with%20the%20validation%20script.%3C%2FLI%3E%0A%3CLI%3ETry%20to%20save%20a%20document%20protected%20with%20a%20DKE%20label.%3C%2FLI%3E%0A%3CLI%3EHave%20another%20user%20open%20a%20DKE%20protected%20document.%3C%2FLI%3E%0A%3CLI%3ELet%20a%20user%20re-label%20a%20DKE%20protected%20document%20by%20right-clicking%20the%20document%20and%20selecting%20%C2%ABclassify%20and%20protect%C2%BB.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3ESome%20resolution%20steps%20refer%20to%20checklist%20items%20and%20tools.%20The%20reference%20uses%20codes%20that%20are%20prepended%20to%20the%20titles%20of%20the%20checklist%20items%20(e.g.%20%C2%ABCL1%C2%BB)%20and%20tools%20(e.g.%20%C2%ABT4%C2%BB).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1324555981%22%20id%3D%22toc-hId-1323514283%22%3EStep%201%3A%20Check%20the%20web%20site%20with%20the%20validation%20script%3C%2FH3%3E%0A%3CP%3EWe%20suggest%20to%20run%20the%20validation%20script%3A%3C%2FP%3E%0A%3CPRE%3E%5B%E2%80%A6%5D%5CDoubleKeyEncryptionService%5Csrc%5Ccustomer-key-store%5Cscripts%26gt%3B%20.%5Ckey_store_tester.ps1%20%26lt%3BDKE%20URL%26gt%3B%2F%26lt%3BKey%26gt%3B%3C%2FPRE%3E%0A%3CP%3EIf%20this%20is%20successful%2C%20please%20proceed%20with%20step%202.%3C%2FP%3E%0A%3CP%3EHowever%20you%20may%20see%20the%20following%20output%3A%3C%2FP%3E%0A%3CPRE%3EValidation%20request%20started%3A%20%3CDKE%20url%3D%22%22%3E%2F%3CKEY%3E%3CBR%20%2F%3EValidation%20failure%3A%20Unable%20to%20access%20the%20provided%20url%20Not%20Found%3C%2FKEY%3E%3C%2FDKE%3E%3C%2FPRE%3E%0A%3CP%3ESimilarly%2C%20a%20404%20error%20is%20issued%20when%20you%20open%20the%20URL%20in%20a%20web%20browser.%3CBR%20%2F%3EThis%20indicates%20one%20of%20the%20following%20issues%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22302%22%3E%3CP%3E%3CSTRONG%3EPotential%20issue%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22302%22%3E%3CP%3E%3CSTRONG%3ESuggested%20resolution%20steps%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22302%22%3E%3CP%3E%3CSTRONG%3EThe%20URL%20is%20not%20correct.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22302%22%3E%3CP%3EDouble-check%20the%20URL%2C%20please%20observe%20that%20the%20key%20name%20in%20the%20URL%20is%20case%20sensitive.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22302%22%3E%3CP%3E%3CSTRONG%3EThere%E2%80%99s%20an%20internal%20exception%20in%20the%20web%20site.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22302%22%3E%3CP%3ECheck%20the%20event%20log%20on%20the%20DKE%20service%20(see%20tool%20T4).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH3%20id%3D%22toc-hId-215263459%22%20id%3D%22toc-hId-214221761%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--1592191004%22%20id%3D%22toc-hId--1593232702%22%3EStep%202%3A%20Try%20to%20save%20a%20document%20protected%20with%20a%20DKE%20label%3C%2FH3%3E%0A%3CP%3E(Ensure%20the%20DKE%20label%20has%20defined%20%C2%ABAllow%20offline%20access%3A%C2%BB%20as%20%C2%ABAlways%C2%BB.)%3CBR%20%2F%3ESaving%20the%20document%20successfully%20shows%20the%20client%20can%20reach%20the%20DKE%20service%20anonymously%20and%20the%20service%20provides%20a%20suitable%20RSA%20key.%20In%20this%20case%2C%20please%20proceed%20with%20step%203.%3CBR%20%2F%3EBut%20you%20might%20encounter%20this%20behavior%3A%3CBR%20%2F%3EDespite%20having%20ample%20space%20on%20a%20disk%20(or%20on%20OneDrive)%2C%20the%20following%20message%20is%20shown%20when%20saving%20a%20DKE%20protected%20document%3A%20%C2%ABWord%20cannot%20save%20or%20create%20this%20file.%20Make%20sure%20the%20disk%20you%20want%20to%20save%20the%20file%20on%20it%20is%20not%20full%2C%20write-protected%2C%20or%20damaged.%C2%BB%3CBR%20%2F%3EThis%20indicates%20one%20of%20the%20following%20issues%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22274%22%3E%3CP%3E%3CSTRONG%3EPotential%20issue%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3E%3CSTRONG%3ESuggested%20resolution%20steps%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22274%22%3E%3CP%3E%3CSTRONG%3EThe%20client%20is%20not%20configured%20to%20use%20DKE.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3ERe-check%20the%20Office%20version%20(see%20checklist%20item%20CL1).%3C%2FP%3E%0A%3CP%3EVerify%20the%20DKE%20registry%20keys%20have%20been%20imported%20on%20the%20client%20(see%20checklist%20item%20CL9).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22274%22%3E%3CP%3E%3CSTRONG%3EThe%20client%20cannot%20reach%20the%20DKE%20service.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3EOn%20the%20client%2C%20try%20opening%20the%20DKE-URL%20configured%20in%20the%20sensitivity%20label.%20If%20that%20fails%2C%20fix%20the%20network%20issue%20as%20needed.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH3%20id%3D%22toc-hId-895321829%22%20id%3D%22toc-hId-894280131%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--912132634%22%20id%3D%22toc-hId--913174332%22%3EStep%203%3A%20Have%20another%20user%20open%20a%20DKE%20protected%20document%3C%2FH3%3E%0A%3CP%3EIf%20user1%20protects%20a%20document%20with%20DKE%20and%20user2%20succeeds%20in%20opening%20this%20document%2C%20users%20can%20be%20authenticated%20to%20DKE.%20In%20this%20case%20you%20may%20proceed%20with%20step%204.%3CBR%20%2F%3EBut%20a%20user%20trying%20to%20open%20a%20DKE%20document%20not%20protected%20by%20herself%20may%20see%20the%20following%20error%20message%3A%3CBR%20%2F%3E%C2%ABYou%20are%20not%20signed%20in%20to%20Office%20with%20an%20account%20that%20has%20permission%20to%20open%20this%20document.%20You%20may%20sign%20in%20a%20new%20account%20into%20Office%20that%20has%20permission%20or%20request%20permission%20from%20the%20content%20owner.%C2%BB%3CBR%20%2F%3EThis%20indicates%20one%20of%20the%20following%20issues%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2230px%22%3E%3CP%3E%3CSTRONG%3EPotential%20issue%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2230px%22%3E%3CP%3E%3CSTRONG%3ESuggested%20resolution%20steps%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3E%3CSTRONG%3EThe%20user%20hasn%E2%80%99t%20been%20granted%20permission%20in%20the%20sensitivity%20label.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3EDuring%20tests%2C%20try%20granting%20the%20whole%20tenant%20access%20in%20the%20sensitivity%20label%20permissions%20(see%20checklist%20item%20CL5).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3E%3CSTRONG%3EThe%20DKE%20service%20URL%20contains%20a%20sub-folder.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3EVerify%20that%20the%20DKE%20URL%20consists%20of%20the%20FQDN%20only%20(see%20checklist%20item%20CL2).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2230px%22%3E%3CP%3E%3CSTRONG%3EThe%20web%20application%20isn%E2%80%99t%20configured%20correctly.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2230px%22%3E%3CP%3ECheck%20the%20settings%20in%20the%20web%20application%20(see%20checklist%20item%20CL6).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%22111px%22%3E%3CP%3E%3CSTRONG%3EThe%20DKE%20service%20is%20hosted%20on%20IIS%2C%20but%20it%20cannot%20reach%20Azure%20AD%20due%20to%20lacking%20outbound%20Internet%20connectivity.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%22111px%22%3E%3CP%3ECheck%20for%20exception%20%C2%ABSystem.InvalidOperationException%3A%20IDX20803%3A%20Unable%20to%20obtain%20configuration%C2%BB%20in%20the%20event%20viewer%20(see%20tool%20T4).%3C%2FP%3E%0A%3CP%3EIf%20this%20exception%20occurs%2C%20make%20sure%20the%20DKE%20service%20has%20outbound%20connectivity.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3E%3CSTRONG%3EThe%20configuration%20file%20doesn%E2%80%99t%20grant%20permission%20for%20the%20tenant.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3EEnsure%20%C2%ABTrustedIssuers%C2%BB%20contains%20the%20tenant%20specific%20URL%20(see%20checklist%20item%20CL10).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2230px%22%3E%3CP%3E%3CSTRONG%3EDKE%20doesn%E2%80%99t%20authorize%20the%20user%20to%20access%20the%20service.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2230px%22%3E%3CP%3ECheck%20the%20authorization%20option%20(see%20checklist%20item%20CL7).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3E%3CSTRONG%3EThe%20host%20name%20in%20the%20%22JwtAudience%22%20doesn't%20exactly%20match%20the%20host%20name%20in%20the%20DKE%20URL%20(including%20case).%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486px%22%20height%3D%2257px%22%3E%3CP%3ECheck%20the%20exact%20spelling%20of%20the%20host%20name%2C%20including%20case%20(see%20checklist%20item%20CL11).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH3%20id%3D%22toc-hId-1575380199%22%20id%3D%22toc-hId-1574338501%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--232074264%22%20id%3D%22toc-hId--233115962%22%3EStep%204%3A%20Let%20a%20user%20re-label%20her%20own%20DKE%20protected%20document%20with%20right-click%2C%20%C2%ABclassify%20and%20protect%C2%BB%3C%2FH3%3E%0A%3CP%3E(For%20this%20test%2C%20the%20user%20has%20protected%20the%20document%20herself%20in%20Office.)%3CBR%20%2F%3EIf%20the%20user%20succeeds%20in%20re-labeling%20this%20protected%20document%20with%20right-click%2C%20the%20AIP%20client%20is%20also%20registered%20with%20the%20web%20application%20and%20an%20Office%20version%20supporting%20DKE%20is%20installed.%3CBR%20%2F%3EHowever%2C%20the%20user%20may%20see%20the%20following%20error%20message%20in%20the%20AIP%20client%3A%3CBR%20%2F%3E%C2%ABAn%20unknown%20error%20occurred.%20If%20this%20problem%20persists%2C%20contact%20your%20administrator%20or%20help%20desk.%C2%BB%3CBR%20%2F%3EThis%20indicates%20one%20of%20the%20following%20issues%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22274%22%3E%3CP%3E%3CSTRONG%3EPotential%20issue%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3E%3CSTRONG%3ESuggested%20resolution%20steps%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22274%22%3E%3CP%3E%3CSTRONG%3EThe%20client%20doesn%E2%80%99t%20have%20the%20correct%20Office%20version%20installed.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3ERe-check%20the%20Office%20version%20(see%20checklist%20item%20CL1).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22274%22%3E%3CP%3E%3CSTRONG%3EThe%20AIP%20client%20is%20not%20registered%20in%20the%20web%20application.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3ECheck%20whether%20the%20client%20ID%20for%20the%20AIP%20client%20has%20also%20been%20registered%20in%20the%20web%20application%20(see%20checklist%20item%20CL6).%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2234252%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20following%20blog%20post%20helps%20you%20troubleshoot%20the%20reference%20implementation%20for%20DKE.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2234252%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EInformation%20Protection%20and%20Governance%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎May 11 2021 02:01 PM
Updated by: