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\4.0.0.993”,
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:
- 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 !!
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.
LikeLike
Thanks Kaustubh for the suggestion. Definitely we’ll try that next time we face this issue.
LikeLike