We're testing Adaxes 2023 and I've found a small issue when connecting to AzureADPreview in a powershell script where it comeas back with the following:
"One or more errors occurred.: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation."
The script connects using the follwing commands
$cred = $Context.GetOffice365Credential()
Connect-AzureAD -Credential $cred
This is working in our live 2021.1 environment and I'm assuming the issue is that the 2023 system is using the app registration for Azure rather than a service account with Azure permissions.
How can this be done with the app registration?