Comments on: Combining PowerApps and Azure Functions to Build User Self-Service Capabilities https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/ Practical Office 365 News, Tips, and Tutorials Wed, 29 Nov 2023 16:29:21 +0000 hourly 1 https://wordpress.org/?v=6.3.2 By: Ingo Gegenwarth https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281868 Thu, 23 Nov 2023 20:46:21 +0000 https://practical365.com/?p=60015#comment-281868 In reply to Marcin R..

Hi Marcin,
thank you for pointing this out. I came across this and I took another screenshot. Obviously, I missed to replace the image…
In regards of the line height:
have a look at the “TemplateSize” property for the gallery. Decrease the value, which should do the trick.
I’ll have the article updated.
Thanks again!
Ciao,
Ingo

]]>
By: Marcin R. https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281852 Thu, 23 Nov 2023 16:04:47 +0000 https://practical365.com/?p=60015#comment-281852 In reply to Ingo Gegenwarth.

So I have deleted the button and created from scratch. Flow started working perfectly fine but it could not find a recipient. It seems like you have made a small mistake in condition step. It should be “UserDetails” IS NOT EQUAL to null instead of IS EQUAL TO. Have a look on your screenshot 😉

Anyway, Power App is now working like a charm. Thank you very much, really appreciate your help!

Now I need to work a little bit on formatting the output. Any idea how to make smaller gaps between the results? So based on your example I would like to achieve something like this:

https://i.imgur.com/vBPMGhE.png

]]>
By: Ingo Gegenwarth https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281847 Thu, 23 Nov 2023 14:54:44 +0000 https://practical365.com/?p=60015#comment-281847 In reply to Marcin R..

Hi Marcin,
can you check if your flow works at all? Mayba just temporary issue? You should be able to test the flow and providing an e-mail address. Maybe you can see there more details.

]]>
By: Marcin R. https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281846 Thu, 23 Nov 2023 14:50:05 +0000 https://practical365.com/?p=60015#comment-281846 In reply to Ingo Gegenwarth.

Yes Sir. It is displayed correctly when I highlight it. Looking at the error it seems like there is something wrong with the flow. I am trying to investigate it. Please see detailed screenshot:

https://i.imgur.com/4Rpo6Xa.png

]]>
By: Ingo Gegenwarth https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281837 Thu, 23 Nov 2023 13:16:06 +0000 https://practical365.com/?p=60015#comment-281837 In reply to Marcin R..

Hi Marcin,
do you have the Text Input label named “MailboxAddress”?
Ciao,
Ingo

]]>
By: Marcin R. https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281836 Thu, 23 Nov 2023 13:13:20 +0000 https://practical365.com/?p=60015#comment-281836 In reply to Ingo Gegenwarth.

Ahh missed this one, thank you. Seems like I am almost there.

Now I have the following error due to invalid arguments:

https://i.imgur.com/rGbs6OJ.png

]]>
By: Ingo Gegenwarth https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281832 Thu, 23 Nov 2023 12:08:08 +0000 https://practical365.com/?p=60015#comment-281832 Hi Marcin,
it’s a beast. The name of the flow needs to be exactly the one you use in the code. In my case I named the flow “Mailboxpermission” and you run it with “Mailboxpermission.Run(…”.
I can see that you still have the default name for the flow “PowerAppV2->Condition…”
Ciao,
Ingo

]]>
By: Marcin R. https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281828 Thu, 23 Nov 2023 11:50:39 +0000 https://practical365.com/?p=60015#comment-281828 In reply to Marcin R..

OK. Figured it out. The key here was to use ‘ ‘ everywhere. So in my case rawResult expression looks like this:

if(contains(body(‘HTTP’),’An error occured while processing this request’),”,array(body(‘HTTP’)))

But now I am stuck on the next step (Add Code to PowerApp). Getting errors as follows:

https://i.imgur.com/WodHD0y.png

]]>
By: Marcin R. https://practical365.com/combining-powerapps-and-azure-functions-to-build-user-self-service-capabilities/#comment-281823 Thu, 23 Nov 2023 11:25:55 +0000 https://practical365.com/?p=60015#comment-281823 Hi Ingo. Great article but seems like I am stuck on creating 3 text responses inside the flow (rawResult, rawError, result). Says that the expression is invalid. Tried to replace ”” with ” and ‘’ with ” but with no luck. Not sure what I am doing wrong here. Any advise would be much appreciated.

]]>