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:
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