1) My HTTP post has the following parameters
Method: POST |
2) When I look at the output I notice that, I have received a redirect URL response which is basically pointing me to
{
"statusCode": 200,
"headers": { "Vary": "Accept-Encoding", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-request-id": "7a17a628-066b-4954-adb2-1b896c1f2f00", "x-ms-ests-server": "2.1.9677.8 - EST ProdSlices", "Cache-Control": "private", "Set-Cookie": "x-ms-gateway-slice=prod; path=/; SameSite=None; secure; HttpOnly,stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly", "Date": "Wed, 20 Nov 2019 21:51:10 GMT", "Content-Type": "text/html", "Content-Length": "649" }, "body": "<html><head><title>Continue</title></head><body><form method=\"POST\" name=\"hiddenform\" action=\"">login.microsoftonline.com/.../wsfed is disabled. Click Submit to continue</p><input type=\"submit\" value=\"Submit\" /></noscript></form><script language=\"javascript\">window.setTimeout('document.forms[0].submit()', 0);</script></body></html>" |
ahhhhhh! I had changed it while trying multiple things and now back to Not authorized, invalid operations error.
The funny thing is that security credentials work for ImportFromPackage api call. I did not want the headache of importing a package but I guess there is no other option.
Can you please let me know from your experience if the following plan will work
1) create manifest.xml and packageHeader.xml and store in in Azure blob.
2) once we receive file from external application -> create a zip file from external application, manifesh.xml and packageheader.xml
3) Import zip file using ImportFrompackage api call.
Thanks in advance :)
Isn't your post action is going to be like below ? Did you try it ?
xxxx75ae7422devaos.cloudax.dynamics.com/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetAzureWriteUrl
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156