Hi Guys
To the same Customer I'm going to install the second On Premise Environment.
During the "Step 18 - Configure AD FS" I had run the following command in order to create the new Application:
.\Publish-ADFSApplicationGroup.ps1 -HostUrl 'https://ax.d365foENVNAME.onprem.contoso.com' -ApplicationName 'Microsoft Dynamics 365 for Operations On-premises ENVNAME'
Here I raised the error "The client id must be unique across all clients"
I checked the log wrote in the same folder as the script and I notice that the process failed to the script "D365FO-OP\D365FO-OP-ADFSApplicationGroup.psm1” at line 199
Here the "workflowClientId" is set with a fixed ID value.
I guess is a error so, I changed the line in:
"$workflowClientId = ([guid]::NewGuid())"
Before rerun the script, delete the partial Application created before through the ADFS Management Console
P.S. The workaround above have an issue, the workflow doesn't work anymore.
Unfortunately, I don't know where, Microsoft Dynamics 365FO search the Fixed Value...
I will create another post in order to explain how to modify the same Application in order to handle also other Environments.
Till Soon!
To the same Customer I'm going to install the second On Premise Environment.
During the "Step 18 - Configure AD FS" I had run the following command in order to create the new Application:
.\Publish-ADFSApplicationGroup.ps1 -HostUrl 'https://ax.d365foENVNAME.onprem.contoso.com' -ApplicationName 'Microsoft Dynamics 365 for Operations On-premises ENVNAME'
Here I raised the error "The client id must be unique across all clients"
I checked the log wrote in the same folder as the script and I notice that the process failed to the script "D365FO-OP\D365FO-OP-ADFSApplicationGroup.psm1” at line 199
Here the "workflowClientId" is set with a fixed ID value.
I guess is a error so, I changed the line in:
"$workflowClientId = ([guid]::NewGuid())"
Before rerun the script, delete the partial Application created before through the ADFS Management Console
P.S. The workaround above have an issue, the workflow doesn't work anymore.
Unfortunately, I don't know where, Microsoft Dynamics 365FO search the Fixed Value...
I will create another post in order to explain how to modify the same Application in order to handle also other Environments.
Till Soon!