Announcements
$FQDN = "ourdomain.com" Import-Module -Name Microsoft.Entra Connect-Entra -Identity -NoWelcome $output = Get-EntraUser -Identity "some.user@$fqdn" | Select-Object -Property "displayName", "userPrincipalName" | ConvertTo-Json -Compress Write-Output $output
The content media type 'text/plain' is not supported. Only 'application/json' is supported.
I have "solved" this by doing a workaround.
What I have done is broken my flow into two parts, one part that creates the user account and then another part that updates a SharePoint list and emails/teams messages out information about the new user account.
What I do with the user creation flow that feeds into Auzure Automation is pass along the required account creation information that is used directly by Azure Automation along with some additional details which gets passed back via a webhook into my second flow that creates a SharePoint item and emails/teams messages various staff.
It maybe a little tidier rather than passing along all the information into Azure Automation and not using it at all to instead create the new SharePoint item in the first flow and then pass along only the SharePoint item's ID into Azure Automation which would then be passed into the second flow using webhooks to just updated the newly created SharePoint list item with the additional user accounts details that were generated during the account creation process.
I still think there is something broken with the "Get job output" function in Power Automate but I have no idea how to raise a bug report with Microsoft so it will just have to remain like that.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 605
Valantis 340
11manish 284