microsoft / Recurring-Integrations-Scheduler

Recurring Integrations Scheduler (RIS) is a solution that can be used in file-based integration scenarios for Dynamics 365 Finance and Dynamics 365 Supply Chain Management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possibility to validate the connection event with the AADSTS7000215 error

Simon-Syd opened this issue · comments

It's not really a bug, but now when creating a new AppID on Azure, under the "Authentication", the "enable public flow" is disabled by default

Describe the bug
On the RIS, when I want to validate the connection to the environment with a service, it says "fine"
but when the job is executing, I can see this error on Event Viewer :
"AADSTS7000215: Invalid client secrets is provided"

https://github.com/azuread/microsoft-authentication-library-for-dotnet/wiki/Client-Applications#invalid-client

Expected behavior
to not allow the validatation of connection on RIS if the azure AD settings "enable public flow" is not set to enabled

Recurring Integration Scheduler version (please complete the following information):

  • 3.3.1

Dynamics 365 version (please complete the following information):

  • 10.0.21

Screenshots
2021-11-02_09h48_26
2021-11-02_09h48_41

I verified this and both validation and jobs are OK in both cases. Does not matter if this option is enabled or not. It looks a bit different on my end though. Have a look.

image

it weird. I have this error only on newly created AppID on AAD, tested on differents tenant
because everyones created a long time ago didn't need to have the settings "Allow public client flows" to yes and RIS is working like a charm
maybe someelse expect the same behaviour ?