Hi all,
I built a flow that is activated by pressing button in powerapps. in the process I send an email to the current user.
In the tests I did, I used my personal email and it worked fine,
Now that everything works properly I used Get my profile to get to the email of the current user.
The first time it worked well, the next time it stopped working.
Does anyone know why this is happening?
Thanks in advance
@Maorzd23wrote:Hi all,
I built a flow that is activated by pressing button in powerapps. in the process I send an email to the current user.
In the tests I did, I used my personal email and it worked fine,
Now that everything works properly I used Get my profile to get to the email of the current user.
The first time it worked well, the next time it stopped working.
Does anyone know why this is happening?
Thanks in advance
The error seems to show that you are pointing to a condition property that doesn't exist shared_office365users and it's looking for either shared_office365 or shared_sharepointonline.
Doublecheck your condition's yes statement to make sure the property is correct.
Thanks @JRaasumaa,
Unfortunately It's happens even if I put the Get my profile before the condition.
Hi @ Maorzd23,
Could you please show me the entire screenshot of the flow ?
Do you want to get the email of the current user?
What did you type in the User (UPN) field of the “Get my profile(V1)” action?
Action “Get user profile(V1)” retrieves the profile of the current user. Required parameter for this action is user principal name or email id.
You could enter your email address in the UPN field, or you could also select a dynamic content that will return an email address for the UPN field.
Please check this documentation to get more details about the connector Office 365 Users:
https://docs.microsoft.com/en-us/connectors/office365users/
I have made a test on my side, the “Get my profile(V1)” action is removed from my Office 365 Users connector, so I use the “Get my profile(V2)” action to test.
The “Get my profile(V2)” action retrieves the profile of the current user. To get the email of the current user, you could leave the Select query field of “Get my profile(V2)” blank as screenshots below:
The flow would run successfully as below:
Regards,
Alice Zhang
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
User | Count |
---|---|
23 | |
12 | |
11 | |
10 | |
8 |
User | Count |
---|---|
33 | |
25 | |
23 | |
17 | |
16 |