Need Help..!
I am stuck at point 6, where I need to create "ADFSServerApplicationForRetail".
6) On the ADFS machine currently viewing, run this script in a new PowerShell window using the command .\Create-ADFSServerApplicationForRetail -HostUrl 'ax.d365ffo.onprem.contoso.com', where the HostUrl value can be found in Service Fabric. To find the HostUrl value, navigate to Service Fabric > Application fabric:/AXSF > Details > Aad_AADValidAudience.
--x--
PS C:\scripts> .\Create-ADFSServerApplicationForRetail -HostUrl 'https://ax.dynamics.dax365.com'
New-D365FOAdfsServerApplicationForRetail-HostUrl:$HostUrl : The term
'New-D365FOAdfsServerApplicationForRetail-HostUrl:$HostUrl' 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:\scripts\Create-ADFSServerApplicationForRetail.ps1:51 char:30
+ ... plication = New-D365FOAdfsServerApplicationForRetail-HostUrl:$HostUrl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-D365FOAdfsS...ostUrl:$HostUrl:String) [], ParentContainsErrorRecord
Exception
+ FullyQualifiedErrorId : CommandNotFoundException
-- x --
Regards,
Junaid Ahmed