web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Unable to resolve "New-ADServiceAccount: The specified account already exists"

(0) ShareShare
ReportReport
Posted on by 45

Hello all,

I don't know if this is the right forum to post this question, I have to post it all the same to get the opinion of others in this challenge I'm encountering.

I created a group managed service account (GMSA as ADUsers) or rather thought I created them. However I found out that each time I ran the Install-ADServiceAccount svc-FRAS, It tells me it can't install ADServiceAccount. When I run the Test-ADServiceAccount, it comes out as false.

Now I removed those users, and created new ADComputer. When I run the New-ADServiceAccount -Name $gMSA_Name -DNSHostName $gMSA_FQDN -PrincipalsAllowedToRetrieveManagedPassword $gMSA_HostsGroup, it tells me that  "The specified account already exists" I don't know how to resolve this, and I can't move forward with my installation of finance and operation without creating group managed service account.

I will be grateful if someone can advise me on how to resolve this. If this is not the right forum to post this question, please kindly direct me on which forum I should post this question to. 

Thank you.

I have the same question (0)
  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    Bit confusing, however, if you are completed parameters configtemplate.xml properly then run below in PowerShell  to Create GSMA accounts

    Import-Module .\D365FO-OP\D365FO-OP.psd1

    New-D365FOGMSAAccounts -ConfigurationFilePath .\ConfigTemplate.xml

  • Squash1986 Profile Picture
    45 on at

    Yes I am talking about D365FO. Yes that was the command I ran which made me suspect that I probably didn't configure the gMSA properly. I tested the ADServiceAccount, and it came out false.

    I then removed gMSAs with the Remove-ADServiceAccount $gMSA_Name, and when I tried configuring the gMSAs again, but this time around as ADComputer rather than ADUser, I got this errors, and have been stuck there.

  • Squash1986 Profile Picture
    45 on at

    I ran your commands, and this is what I got. I also attached a copy of my configtemplate.xml.

    I want to ask. Do I create the gMSA accounts as Users or as Computers in my active directory?

    Thanks for your help.

    1122.Capture.PNG

    5025.config.PNG

  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    you don't need to create those accounts manually script will do.

    Follow the instruction carefully given in the below links

    1.www.linkedin.com/.../
    2
    .https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/setup-deploy-on-premises-pu12

  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    also, make sure you run Powershell as an administrator,

    Refer this to sort out MSA acccount issues as first step :

    docs.microsoft.com/.../setup-deploy-on-premises-pu12

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 659

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 465 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans