d365collaborative / d365fo.tools

Tools used for Dynamics 365 Finance and Operations
MIT License
246 stars 102 forks source link

Improve entra integration #809

Closed FH-Inway closed 7 months ago

FH-Inway commented 7 months ago

closes #796

As described in #796 , this adds an optional switch -AddAppRegistrationToWifConfig to the New-D365EntraIntegration cmdlet.

As a prerequisite, a new cmdlet Backup-D365WifConfig was created to enable creating a backup of the wif.config file. As part of that, the logic of multiple file backup cmdlets was centralized in the internal Backup-File function.

A test for the wif.config was also added to the Test-D365EntraIntegration cmdlet, though a missing value will not be reported as an error, just a suggestion.