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
142
Most Valuable Professional
MS.Ragavendar
81
stampcoin
68