web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Getting an error like ...
Copilot Studio
Suggested Answer

Getting an error like Response is not in JSON format

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
When trying to use Azure queues connection in Agent flows getting an error like below.

Troubleshooting performed:

 

-Validated and confirmed that the access key credentials being used are correct and the storage account is public network access enabled. And there are no firewall restrictions in the Azure storage account side and also have storage contributor role as well. 

-Validated the situation in our internal test instance and can be able to see the same error from our side as well.

-When the end user is trying to create the connection from Power Apps or Power Automate portal, they are getting the same issue.


-When using the Entra id authentication type, we are getting the below error. But I prefers using the access key as it wont require any additional permissions from Azure side of things.

 

Ask:

Why am I unable to establish Azure Queues connector properly in the Agent flows as well as in Power Apps and Power Automate and even though providing the appropriate credentials why the connection is not being established properly.

I have the same question (0)
  • chiaraalina Profile Picture
    1,625 Super User 2026 Season 1 on at
     
    The issue is authorization. Can you add Storage Queue Data Contributor (Storage Contributor is not enough) and try again?
  • Suggested answer
    deepakmehta13a Profile Picture
    87 on at

    Hi,

    From the screenshots and the details, you shared, the error “Response is not in JSON format” can sometimes occur when the connector request is not authorized correctly and the service returns a non-JSON response (for example an authentication or permission error page).

    For Azure Queue Storage, it is important to note that there are two types of permissions:

    Management plane roles (like Storage Contributor)
    Data plane roles (required to read/write queue messages)

    When using Entra ID authentication with Azure Queues, the connector typically requires the Storage Queue Data Contributor role on the storage account or queue resource.

    You may want to check the following:

    1️⃣ In Azure Portal → Storage Account → Access control (IAM)
    Ensure the user or service principal has Storage Queue Data Contributor assigned.

    2️⃣ Confirm the queue endpoint is accessible and not restricted by network rules or firewall settings.

    3️⃣ After updating permissions, try re-creating the connection in Power Automate / Power Apps, as sometimes the connector caches the previous authentication attempt.

    The reason this matter is that connectors in Power Platform expect the service response in JSON format, and if the request is not authorized correctly the service may return a different response format which causes this parsing error.

    If you are able to test again after assigning the Storage Queue Data Contributor role, it would be interesting to see if the connection succeeds.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 370

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 184 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 57 Super User 2026 Season 1

Last 30 days Overall leaderboard