Thursday, September 19, 2019

D365FO Failed to generate the user token for Dynamics Lifecycle services on behalf on user {*}. Please contact your system administrator.


While trying to connect to LCS for creating repository I got following errors:

Failed to generate the user token for Dynamics Lifecycle services on behalf on user {4E41*******38B}. Please contact your system administrator.


Even if try to add new repository it will give error, like in following screenshots.

                         

                        
                       

                       



You can solve it with following steps:



  1. Remove affected tokens
    The database may have affected key you need to take backup of data of this table and delete the records with following query.





  2. Add new repository
    Now you can add new repository without error

        

         

 it will take you to login page where you will give login Id and password, or will directly sign you in if you are already signed in.

         

Hope it solves your problem. You may comment your problem as well. I faced some other issues as well which I solved but forgot to take screenshots. Thanks.

Wednesday, September 11, 2019

Microsoft get LCS Project Id

To get your LCS project Id follow these steps:

  1. login to your LCS
  2. Click on your project
  3. Let the main main page of project open. You can now get the LCS project Id from the address bar (URL). It is usually 7 digit number.