d365collaborative / d365fo.tools

Tools used for Dynamics 365 Finance and Operations
MIT License
236 stars 97 forks source link

Update cmdlets for Entra integration #832

Closed FH-Inway closed 3 weeks ago

FH-Inway commented 1 month ago

The cmdlets New-D365EntraIntgration and Test-D365EntraIntegration were created based on the Microsoft documentation https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/secure-developer-vm#external-integrations.

The cmdlets were based on version 9b7a2511 of the documentation. Since then, Microsoft updated the documentation. The cmdlets should be updated to reflect the changes made.

In detail, the changes were made to enable 2 additional capabilities:

Changes

1. Adding the Entra AppId in wif.config

This has already been added to the cmdlets with the optional -AddAppRegistrationToWifConfig switch. Since it is now officially recommended, the switch is to be removed and the adding is to always be done.

As a minor change, the entry is to be added after instead of the before the existing entry.

2. Clear cached LCS configuration in AxDB

This is to be added.

3. Restart Internet Information Services (IIS)

This is to be added.

FH-Inway commented 3 weeks ago

This is now available in version 0.7.13.