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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Configure AD FS on Dynamics 365 installation.

(0) ShareShare
ReportReport
Posted on by 117

Hello everyone.

I'm trying to deploy D365 F&O,
and when i try to configure the ADFS (Step18) I got an error when trying to run the flowing script :
PS C:\infrastructure> .\Publish-ADFSApplicationGroup.ps1 -HostUrl 'ax.d365ffo.onprem.XXXX.com'

Error :
New-AdfsApplicationGroup : MSIS9908: The application group identifier must be unique in AD FS configuration.
At C:\infrastructure\D365FO-OP\D365FO-OP-ADFSApplicationGroup.psm1:78 char:14
+ ... $group = New-AdfsApplicationGroup -Name $ApplicationName -Applicat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Ident...pplicationGroup:ApplicationGroup) [New-AdfsApplicationGroup], StorageConstraintException
+ FullyQualifiedErrorId : MSIS9908,Microsoft.IdentityServer.Management.Commands.NewAdfsApplicationGroupCommand

any help with this issue??

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi w.sallam1,

    Probably the last comment in the next thread may help you: community.dynamics.com/.../adfs-configuration-for-premises-deployment-invalid-scope-names

  • WillWU Profile Picture
    22,361 on at

    Hi w.sallam1,

    Please see the DOC:

    docs.microsoft.com/.../troubleshoot-on-prem

    pastedimage1591864637250v1.png

  • Suggested answer
    Anup Shah MSFT Profile Picture
    on at

    This step is to deploy the Application group to all AOS. If you want to reuse your previously configured AD FS server for additional environments, see Reuse the same AD FS instance for multiple environments.

  • w.sallam Profile Picture
    2,259 on at

    thanks André for replying,

    I tried the solution on the thread you gave and deleted the AX application in ADFS but still with the same issue.

  • w.sallam Profile Picture
    2,259 on at

    thanks Will WU for replying.

    I think the document says about additional environment, but I'm trying to deploy only one env.

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi w.sallam,

    Denis Macchinetti did compile a list with documentation and blogs on his blog site. sinedax.blogspot.com/search

    Probably, you can have a look if there is a part which can help you. If it is all not working, you can once review all steps for the installation and after that create a ticket for Microsoft Support.

  • w.sallam Profile Picture
    2,259 on at

    thanks André for the link

    I will check it out and review my installation one more time,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans