You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Dataverse Connector, the URL of the Dataverse Environment is encapsulated resulting in an invalid URL, if you manually change the URL in code view removing the encapsulation, the request goes trough successfully
Describe the Bug with repro steps
When using the Dataverse Connector, the URL of the Dataverse Environment is encapsulated resulting in an invalid URL, if you manually change the URL in code view removing the encapsulation, the request goes trough successfully
Example, this one fails:
"actions": {
"Update_a_row": {
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['commondataservice']['connectionId']"
}
},
"method": "patch",
"body": {
"statuscode": 690970000
},
"headers": {
"prefer": "return=representation,odata.include-annotations=*",
"accept": "application/json;odata.metadata=full",
"organization": "@{encodeURIComponent(encodeURIComponent('https://someurl.crm.dynamics.com'))}"
},
"path": "/api/data/v9.1/@{encodeURIComponent(encodeURIComponent('salesorders'))}(@{encodeURIComponent(encodeURIComponent(triggerBody()?['id_pedido_crm']))})"
},
"runAfter": {}
}
},
"outputs": {},
"parameters": {
"$connections": {
"type": "Object",
"defaultValue": {}
}
}
I've manually removed the encapsultation in the "organization" header
"actions": {
"Update_a_row": {
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['commondataservice']['connectionId']"
}
},
"method": "patch",
"headers": {
"prefer": "return=representation,odata.include-annotations=*",
"accept": "application/json;odata.metadata=full",
"organization": "https://someurl.crm.dynamics.com"
},
"path": "/api/data/v9.1/@{encodeURIComponent(encodeURIComponent('salesorders'))}(@{encodeURIComponent(encodeURIComponent(triggerBody()?['id_pedido_crm']))})"
},
"runAfter": {}
}
},
"outputs": {},
"parameters": {
"$connections": {
"type": "Object",
"defaultValue": {}
}
}
What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
No
Workflow JSON
Screenshots or Videos
No response
Browser
Any browser was affected. I
Additional context
I don't know if it's the UI (encapsulting URLs) or the actual Dataverse Connector.
The text was updated successfully, but these errors were encountered: