cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
qaAzZ
Level: Powered On

Problem sending Azure Automation Parameters from PowerApps

I'm trying to use Powerapps to start a runbook job in Azure Automation. The runbook starts but i cannot get it to send/receive any of my input parameters defined in PowerApps. (All input parameters are empty in Azure Automation)

 

This is my code in PowerApps: (trying to use pnp powershell to provision new SharePoint sites)

 

AzureAutomation.CreateJob("123456","Automation","Azure-Automation",{runbookName:"CreateProjectSite",

properties:{parameters:{Description:"test",SiteName:"Int_TestEW28_P1902"},runOn:""}})

 

 

Am i doing something wrong here? (very little resources on this connector from what i can find)

 

(Also, if i use Flow the runbook works without problem)