cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bglmarks78
New Member

Azure Automation to Power Automate Remove Header

I am trying to send data to Power Automate from Azure Automation using JSON, the problem is it's getting stuck on the header information that Azure Automation outputs...is there a way to silence or ignore this?

 

Getting this error on the parse

The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'Unexpected character encountered while parsing value: A. Path '', line 0, position 0.'.

 

It doesn't like this part

 

Account :user@somehere.onmicrosoft.com
Environment : AzureCloud
Tenant : TenantGUId
TenantId : TenantGuid
TenantDomain : somewhere.onmicrosoft.com

 

 

3 REPLIES 3
DamoBird365
Super User
Super User

Hi @bglmarks78 

 

Have you tried sticking your JSON in a beautifier / parser like https://jsonformatter.org/ as presumably you have included it via the Azure Automation.

 

In the past i have seen the object names and data encapsulated in double quotes i.e.

"Account" :"user@somehere.onmicrosoft.com"

A json interpreter would highlight these issues for you.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

 

StalinPonnusamy
Community Champion
Community Champion

I believe your cloud flow is HTTPTrigger one. Please test your flow using Postman. This helps to set the header properly. I have flow using this pattern and works.

kateliuyi
New Member

There must be a problem with your JSON format, use it to check

JSON Formatter 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors
Users online (3,257)