Hello All,
I'm getting my foot in the door with Power Automate.
I've created a Microsoft Form for users to fill out. In this case it's a Tool Purchase Request which must be approved or denied by their manager, given it is pulled from AD.
Testing the flow, it's stuck and spins at Get user profile (V2) and what I have for the UPN is: outputs_Get_user_profile_V2?['body']
Screenshot of flow:
I was able to figure out the work flow and they all passed with the test but I have something flipped.
1) I submitted the Microsoft Form
2) Manager approves it in Microsoft Teams Approvals
3) I see the approval in Teams on my end, however, my manager got the approval email notification instead of me. The notify accounting worked well also.
I just now need to fix that and then add the fancy parameters/HTML
Hi @FLMike,
I did some searching; I did change Get user profile (V2) and the UPN was set to responder (form) it passed that part in the test this time around. I am wondering if I do that in Get manager (V2) as well?
https://prnt.sc/aAWuR8QDCzaA
Thanks for your continued input and help
Hi @Aviator13
Since it is stuck there a couple of thigs
Wait... before you even read the below.
Are you saying you added outputs_Get_user_profile_V2?['body']
To the Input properties of the Control itself???????? That would make it hang for sure.
You need to use the Email address from the FORM SUBMITTER, not the control itself.
1. As @creativeopinion mentioned go back to the other editor
2. Look at the action for Get User etc and click the ... and verify that the Retries are set to default
Then
3. Go to the Details Page
3. Open one of the runs that is being weird (hanging)
4. Once its open, click on the Get User action
-Look at the Raw Input coming in and verify whats the value for the perosn you are trying to look up
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
@creativeopinion, see new screenshot URLS. Does this help you understand what's going on?
I did eliminate some things in there in the send an email parameters for the screenshots.
https://prnt.sc/Q1y-s_yNVYiC
https://prnt.sc/4cjGpaq8QNfb
I'm not sure if Microsoft forms is the best solution to use with power automate for request approvals.
@Aviator13 Can you toggle off the New Designer and share a screenshot of your flow with all actions expanded in edit mode? In the meantime, you may find these YT Tutorials helpful:
How to Get a Microsoft Form RSVP Response into a SharePoint List
In this Microsoft Power Automate tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching. You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression. After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.
IN THIS VIDEO:
✅ How to get a Microsoft Form Response into SharePoint
✅ How to get a Microsoft Form ID
✅ How to get a Microsoft Form response
✅ How to Build a Microsoft Form with Conditional Fields
✅ How to used Branching in Microsoft Forms
✅ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
✅ How to parse a Microsoft Form multiple choice response as string of text
✅ How to convert a text response to a number
✅ How to use the Switch action
✅ How to create a custom email confirmation for a Microsoft Form submission
✅ How to Create a Custom View in a SharePoint list
✅ How to use the Compose Action
✅ How to write Power Automate Expressions
----
You might also find this YT Tutorial helpful: How to Get Microsoft Form File Uploads Attached to an Email 📧
In this Microsoft Power Automate Tutorial I’m going to cover where file uploads from your Microsoft Forms are saved. I’ll also show you how attach the uploaded files to an email and how to dynamically name the files and customize the recipient of the email based on the selections made in your Microsoft Form. I will also cover how to handle responses that don’t include any file uploads.
IN THIS VIDEO:
‌✅‌ Two types of MS Forms
‌✅‌ Where Microsoft Personal (OneDrive) Form File Uploads are Saved
‌✅‌ Where Microsoft Group Form File Uploads are Saved
‌✅‌ How to Add a File Upload Question to an MS Form
‌✅‌ How to get a Microsoft Form ID
‌✅‌ How to get a Microsoft Form Response
‌✅‌ How to Get the Dynamic Content Microsoft Form File Upload Content
‌✅‌ How to handle Single and Multiple Microsoft Form File Uploads
‌✅‌ How to use a Scope action to Organize and Group Your Flow Actions
‌✅‌ How to Get the File Content from an MS Form File Upload
‌✅‌ How to Collect All Files Uploaded to a MS Form and Attach to an Email
‌✅‌ How to Handle MS Form Response When a File Isn’t Uploaded
‌✅‌ How to Create an Email Key
‌✅‌ How to Send an Email to a Specific Recipient Based on Form Selection
‌✅‌ How to Create a Dynamic Output Based on Form Selection