We received the following error:
Action Microsoft.Crm.Setup.Server.GrantCrmDatabaseAccessAction failed. The login already has an account under a different user name.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVVQk96msraduH9vvgqDvZO7ra-TbkVHcMZuUMblCjUe5QPtsLalsWGLMEs2Z9QqeOHIHR7bas6CkUN6ysc7D5U05v52BK0Vp4iWC52_3F51EcRODgINfwx1tKAzCzlyb050Lt9HOj-m0/s320/FAIL.JPG)
This happens while the wizzard is updating the system and after that, the repair-function does also not help to resolve this problem.
I found a hint
here.
Solution:
Change the db-owners of the crm databases (MSCRM and METABASE).
Code-Snipped:
EXEC
.dbo.sp_changedbowner @loginame = 'sa', @map = 'true'
EXEC .dbo.sp_changedbowner @loginame = 'sa', @map = 'true'