I am trying to post to an azure service bus using a Power App using the ServiceBus.SendMessage function. I want to write a message where the body is in JSON format to be consumed by another application.
I have been able to create a message but unable to pass content using "ContentData".
How do you pass a string holding a JSON representation to this function via the ContentData parameter?
eg
"{ "leaver": {"employeeFirstName": "Fred", "employeeSurname": "Bloggs", "employeeId": "412875", "employeeWorkPrimaryEmailAddress": "fb@email.com", "endDate": "2023-07-12T00:00:00"}}"
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional