Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Unable to Create and Publish ADFS Application group for D365 on premise deployment

Posted on by 201

Hi Guys,

I am near to finish the deployment of D365 on premise but stuck at the last stages where i am running the below script provided by Microsoft and getting error message:

New-ADFSApplicationGroup : The term 'New-ADFSApplicationGroup' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At C:\Infrastructure\Publish-ADFSApplicationGroup.ps1:59 char:5
+ New-ADFSApplicationGroup -HostUrl:$HostUrl -ApplicationName:$Appl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-ADFSApplicationGroup:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException

# Host URL is your DNS record\host name for accessing the AOS

.\Publish-ADFSApplicationGroup.ps1 -HostUrl 'ax.d365ffo.onprem.d365.com'

Error screenshot:

2538.5383.error.jpg 

By looking at the error message, it says that function New-ADFSApplicationGroup doesn't exist. I checked in the Windows Power Shell of 3 different environments and i couldn't find this function. This function is called from Publish-ADFSApplicationGroup.ps1 script to create Application Group when script is not finding fucntion New-ADFSApplicationGroup  then it is throwing error.

Kindly suggest how to resolve this issue.

 

Thanks,

 

Uzair

 

Categories:
  • Verified answer
    Tomas Prokop Profile Picture
    Tomas Prokop 590 on at
    RE: Unable to Create and Publish ADFS Application group for D365 on premise deployment

    ADFS Application Groups were introduced in Windows Server 2016 (ADFS 2016). Based on the screenshot you have posted it looks like you are running 2012 (ADFS 3.0).

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans