-
Notifications
You must be signed in to change notification settings - Fork 321
Description
Severity
1 - Critical (Blocking production)
Describe the Bug with repro steps
For a logic app, when adding a Dataverse action and adding a new connection via Service principal, I get the below error.
Failed to create connection: {"error":{"code":"BadRequest","message":"{"Code":"BadRequest","Message":"Input parameters are invalid. See details for more information. Details:errorCode: InvalidOptionParameterValue. Message: Parameter 'token:grantType' has value:\r\n\r\ncode\r\n\r\nBut only accepts the following values:\r\nclient_credentials\r\n","Target":null,"Details":[{"Message":"Input parameters are invalid. See details for more information. Details:errorCode: InvalidOptionParameterValue. Message: Parameter 'token:grantType' has value:\r\n\r\ncode\r\n\r\nBut only accepts the following values:\r\nclient_credentials\r\n"},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"14022","MessageTemplate":"Input parameters are invalid. See details for more information. Details:{0}","Parameters":["errorCode: InvalidOptionParameterValue. Message: Parameter 'token:grantType' has value:\r\n\r\ncode\r\n\r\nBut only accepts the following values:\r\nclient_credentials\r\n"],"Code":"BadRequest","Message":"Input parameters are invalid. See details for more information. Details:errorCode: InvalidOptionParameterValue. Message: Parameter 'token:grantType' has value:\r\n\r\ncode\r\n\r\nBut only accepts the following values:\r\nclient_credentials\r\n"}}],"Innererror":null}"}}
I have tried on multiple tenants and have the same issue. The App Registration is set up correctly with Dynamics CRM user_impersonation permissions.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you experiencing a regression?
No response
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
No response
Environment
Chrome/Edge
Additional context
No response