I'm running into the same issue. I can't seem to get the embed code to work as expected. Can anyone share an example of the iframe code with a passed parameter?
I've ended up using Embed web-part which allows passing the parameters to my PowerApp
The URL should look like
<iframe width="1024px" height="575px" src="https://web.powerapps.com/webplayer/iframeapp?source=iframe&screenColor=rgba(104,101,171,1)&appId=/providers/Microsoft.PowerApps/apps/YOUR_APP_ID&PARAM1=VALUE1&PARAM2=VALUE2"></iframe>
I've tweaked the iframe's width and height to show my app as needed.
Thank you very much for this. Excuse my ignorance as I'm just starting to use PowerApps but how do you pick up the parameter in PowerApps? Everything I've tried doesn't work.
Currently I've got an OnStart for the app saying:
Set (PageNamem Param(PageName)) - Obviously PageName is the name of my parameter that I have passed using your Embed code example.
Hope you can help.