Sunday 21 February 2021

Visual studio debugger asking for credentials every time in dynamics 365 finance

 All of sudden the visual studio debugger is asking for credentials when start I debug any code. The credentials screen keep populating even after I enter the details.




Reason: This happens when the VS/VSTS(team explorer) login credentials were expired or signed out. This may also happens when multifactor authentication was enabled and the VS application is not login/ verified with user login credentials.


Solution: 

1 -> Login/Re-Verify the VS with your user credentials . If it was already signed it, sign-out and sign-in again.

2 -> VSTS/TFS(team explorer) connection  might have signed out. So, please re-login to VSTS/TFS and connect to the code repository

Once you make the changes, close and reopen the Visual studio

If 1 & 2 does not work, please use the AdminUserProvisioning (K:\AosService\PackagesLocalDirectory\bin) and update the admin account with your user account and try again. 


@Rahul



No comments:

Post a Comment

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...