Tuesday, 9 November 2021

You are not authorized to login with your current credentials. You will be redirected to the login page in a few seconds D365 FO Visual studio

 I was getting the below error while using VS 2015/17 to debug x++ code


You are not authorized to login with your current credentials. You will be redirected to the login page in a few seconds




Reason: Usually, this happens when multi factor authentication login is enabled and your VS session got expired.


Solution: Make sure your account is login by reentering the login credentials as shown in below screenshot(arrow mark in green color).










1 comment:

  1. This error typically indicates that your current Site Country user credentials do not have the necessary permissions to access Dynamics 365 Finance and Operations; check your user roles or contact your administrator.






    ReplyDelete

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...