XrmToolBox
XrmToolBox copied to clipboard
reenter creedentials in each action
I've updated today, now I need to reenter my credentials when I do any action or open any plugin
- Connection Controls Version: 1.2024.9.59
- XrmToolBox Version: 1.2024.9.69
Hi Marcelo, Can you confirm the update did succeed and you are using version 1.2024.9.69?
I'm experiencing the same issue. I have downloaded XrmToolbox from the website and I'm currently using 1.2024.9.69. The authentication window keeps flashing, or is asking credentials multiple times, which is causing certain plugins just to crash.
I have it on multiple connections, even after recreating them.
To be more clear: creating the connection works just fine.
It's after using a plugin the authentication window starts flashing or is asking credentials, I guess after authentication fails multiple times, or happens too often?
Hi Marcelo, Can you confirm the update did succeed and you are using version 1.2024.9.69?
yes, I'm using this version, now, I've donwload the XRMTOOLBOX from web, and reinstall manually, the error was fixed, the issue happen when you update xrmtoolbox from the app
Downloaded the XrmToolbox from the website, and connected to an environment. It again asks for credentials, and starts flashing. Sometimes it asks credentials again after a while, or says it can't login (I guess the authentication is being blocked because of all the attempts).
https://streamable.com/5lhvtv
I'm experiencing a lot of problems as well. I'm getting more login popups, and something like the Plugin Trace Viewer just kinda dies after a load of login popups appearing and disappearing.
I fished this stacktrace from the connection logging that might be relevant:
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 1-10-2024 15:07:18 Execute Command - RetrieveMultiple : RetrieveMultiple to CRM via IOrganizationService : RequestID=813d36fa-7c6c-469b-839a-a07743e747e2
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 1-10-2024 15:07:18 Error occurred in CrmServiceClientTokenCache.AfterAccessNotification().
Exception Details : System.UnauthorizedAccessException: Access to the path 'C:\Users\redacted\AppData\Local\Temp\{c20debe7-6ef8-45ab-afa9-adce791845ef}' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClientTokenCache.AfterAccessNotification(TokenCacheNotificationArgs args)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 1-10-2024 15:07:18 Error occurred in CrmServiceClientTokenCache.AfterAccessNotification().
Exception Details : System.UnauthorizedAccessException: Access to the path 'C:\Users\redacted\AppData\Local\Temp\{c20debe7-6ef8-45ab-afa9-adce791845ef}' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClientTokenCache.AfterAccessNotification(TokenCacheNotificationArgs args)
Source : Not Provided
Method : Not Provided
Date : 1-10-2024
Time : 15:07:18
Error : Error occurred in CrmServiceClientTokenCache.AfterAccessNotification().
Exception Details : System.UnauthorizedAccessException: Access to the path 'C:\Users\redacted\AppData\Local\Temp\{c20debe7-6ef8-45ab-afa9-adce791845ef}' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClientTokenCache.AfterAccessNotification(TokenCacheNotificationArgs args)
Stack Trace : Not Provided
That folder does seem to exist in the specified location, it contains an "oauth-cache.txt" file.
+1 lots of issues where it re-authenticates on every action of a plugin until it locks me out of my account from too many requests.
On the latest update, downloading the older 2023 update solves the issues.
Downloaded the XrmToolbox from the website, and connected to an environment. It again asks for credentials, and starts flashing. Sometimes it asks credentials again after a while, or says it can't login (I guess the authentication is being blocked because of all the attempts).
https://streamable.com/5lhvtv
yes, the same error
I am experiencing the same issue. Currently I am experiencing it when using Data migration tool. Sign-in keeps popping up until it finally requires my intervention clicking Next and entering the password.
I am experiencing the same issue when using Data migration plugin. Sign-in popups keep popping up until it finally requires my intervention clicking Next and entering the password. But it fails, too many authentication requestss. Using version 1.2024.9.69.
When rolling back to v1.2023.10.67, issue is not met.
Can you precise which kind of authentication method you are using? It seems to me that it occurs only with Microsoft Login Control method
That's correct. Microsoft Login Method.
This is the most complicated for me since I don't handle how it works, how it caches credentials, etc. As soon as you open Microsoft Login Control, my code is almost not involved anymore
Thing is with the previous build there are no issues. I'm using 1.2023.12.68 atm and it works like a charm, so I would assume something changed between this version and the next one?
Edit: I have reviewed all changes but nothing pops up, except for some nuget updates https://github.com/MscrmTools/XrmToolBox/compare/v1.2023.12.68...v1.2024.9.69
Yes, the version of Microsoft control changed. But as far as I can tell, nothing in my code has changed that could lead to this behavior
Is there any new information or a work around for this issue? I'm still encountering the same problem, unfortunately.
I am experiencing the exact same problem.
Using v1.2024.9.69
XMRToolBox connects fine to the environment. I am trying run Model-Apps Copier, which I use a LO, and it is popping up a login for every step and it is not accepting my correct username/pw.