Hi,
I am calling the Dynamics "ExportPDFDocument" api endpoint through power automate.
When tracing the call that occurs when using "Export to PDF" function in the model driven app, it makes a POST call to
https://orgxxxx.crm.dynamics.com/api/data/v9.0/ExportPdfDocument
When I try the same request in the "Invoke an HTTP request", I get an error
"No HTTP resource was found that matches the request URI 'https://orgxxxx.crm.dynamics.com/api/data/v9./ExportPdfDocument'".
When I remove the "api/" part from the URI:
https://orgxxxx.crm.dynamics.com/data/v9.0/ExportPdfDocument
the action works fine.
However, the odata.context in the output states:
https://orgxxxx.crm.dynamics.com/api/data/v9.0/$metadata#Microsoft.Dynamics.CRM.ExportPdfDocumentResponse
with the "api" part.
I use the same action in other tenants, and there I have to add the "api" part...?!?

Report
All responses (
Answers (