USD 4: USD Client crashing with error “multiple_matching_tokens_detected”

Recently, while working on USD 4, we encountered one weird issue. After opening USD client, we selected O365 and provided credential to login.


After selecting the instance to connect, USD client was crashing.


Checking the log files, at the location

“C:\Users\<UserName>\AppData\Roaming\Microsoft\Microsoft Dynamics® 365 Unified Service Desk\”, 

we found the below exception

“multiple_matching_tokens_detected: The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements (e.g. UserId)”.

To fix this issue, we followed the below steps:

  1. Go to Windows Run(Windows+R) –> Type “%appdata%\Microsoft\USD”


2. You will be navigated to the folder “C:\Users\<UserName>\AppData\Roaming\Microsoft\USD”.

3. Clean the folder by deleting all the content of this folder.

4. Relaunch USD client –> Provide credential to login –> Select the D365 instance to connect.

This time we were able to connect to the D365 instance successfully.


Hope it helps !!


2 thoughts on “USD 4: USD Client crashing with error “multiple_matching_tokens_detected”

  1. Great post, multiple people were facing the same issues. You can also do it by deleting just the “Default_USD.tokens.dat” file inside the folder.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.