Recurring-Integrations-Scheduler icon indicating copy to clipboard operation
Recurring-Integrations-Scheduler copied to clipboard

Possibility to validate the connection event with the AADSTS7000215 error

Open Simon-Syd opened this issue 2 years ago • 2 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

Simon-Syd avatar Nov 02 '21 09:11 Simon-Syd

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

TomekMelissa avatar Nov 16 '21 14:11 TomekMelissa

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 ?

Simon-Syd avatar Nov 16 '21 14:11 Simon-Syd