I am using the Send an Http request to Sharepoint action to get an Image but it returns this body :
{
"d": {
"Image": "{\"fileName\":\"Reserved_ImageAttachment_[5]_[Image][36]_[b446d39c-7118-4d73-9bbd-89311f9d6838][2]_[15].png\"}"
}
}
When I apply the same steps in another tenant which I use for demo purposes I'm getting this body : {
"d": {
"Image": "{\"type\":\"thumbnail\",\"fileName\":\"award (1).png\",\"nativeFile\":{},\"fieldName\":\"Image\",\"serverUrl\":\"https://demopeakup.sharepoint.com\",\"fieldId\":\"0cea62f4-794a-4381-bc6c-2ddd7c550938\",\"serverRelativeUrl\":\"/sites/DemoApp/SiteAssets/Lists/446182f2-4845-4830-a9c4-d6772530a5ac/award%20(1).png\",\"id\":\"62a8fcc8-6552-4651-aaac-ec7c92271e87\"}"
}
}.
I could not figure it out why it happens. Both of the accounts have same permissions(Global Admin) in their tenant. But the first one is not returning the server relative url and exc.