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 / Power Automate / The response is not in...
Power Automate
Unanswered

The response is not in a JSON format. Cannot read server response.

(0) ShareShare
ReportReport
Posted on by 2

I am trying to run the built in flow for Microsoft's Insider Risk Management - "Notify manager of insider risk alerts for user." The flow is failing with error 

 

Action 'Get_Insider_Risk_Management_case' failed

{
  "error": {
    "code"403,
    "source""flow-apim-msmanaged-na-westus2-01.azure-apim.net",
    "clientRequestId""[redacted]",
    "message""The response is not in a JSON format.",
    "innerError""Cannot read server response."
  }
}
 
 
Has anyone else experienced this error/ figured out a way around it? This is triggered when a case is created and I manually have a case selected to run the flow. 
Categories:
I have the same question (0)
  • shoog Profile Picture
    2,164 on at

    The (HTTP) code 403 means access forbidden, so this will be a permission issue.

  • barrow Profile Picture
    2 on at

    Thanks for the reply.  I am wondering if it is an issue that the account running the flow is different from the account used for the connections?

     

    For instance, account aGoodguy is the owner of the flow and used to connect to Microsoft 365 Compliance, Outlook, and Office 365 Users.

     

    Account aBadguy is set up as a Run-only user and for the connections is told to use aGoodguy's connections.

     

    Abadguy runs the flow and gets the 403. I've even seen this error on trying to resubmit:

     

    Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_microsoft365compliance_2' in APIM tokens header."}}'.

  • MTGraves Profile Picture
    5 on at

    I am having a similar error.  I have a flow that ran successfully for me, but when I have a 'run only' user run the flow it fails.  I checked the connections and it is connected as me.  Below the output it says Connection: <my email address> with a green checkbox.

     

    "error": {
    "code": 401,
    "source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
    "clientRequestId": "redacted",
    "message": "The response is not in a JSON format.",
    "innerError": "Cannot read server response."
  • shoog Profile Picture
    2,164 on at

    @MTGraves HTTP 401 means unauthorized, so the user running the flow is not authorized for the datasource used.

     

    An instant flow will run under the users credentials, not the credentials you used to configure the flow.

  • MTGraves Profile Picture
    5 on at

    Thanks shoog. I checked that the run only user has access to the workspace, data set and report. There was an additional workspace I had to add them to for the actual paginated reports and the job ran successfully.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard