web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate : We ar...
Power Automate
Answered

Power Automate : We are seeing error while trying to send an Excel format report by email to user.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
We are facing below error(please find the attached screen snippet) while trying to send an email with Report in Excel format to User who ever click the Power Automate button, we are able to get this flow successful when we type the static email id in the "To" list, But our requirement is when the user clicks the Run Flow button in Report layout it should generate the report in Excel format to One Drive and share it by email to user. 

 

Error: The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'emailMessage/To' is required to be of type 'String/email'. The runtime value '"'a2F2eWEucGludXBvbHVAc3diYy5jb20='"' to be converted doesn't have the expected format 'string/email'. 

 

For this issue is related to Power Automate flow couldn’t convert the user mail in Send to

 

Email step errorEmail step errorPower BI UsernamePower BI Username

Categories:
  • Adam-Symplifier Profile Picture
    51 on at

    That looks like a user ID. I can't say I'm overly familiar, but if you add a 'Get User Profile' step, use that PowerBI dynamic content of the 'user email', it should retrieve the user. You can then use the 'mail' dynamic content from the 'Get User Profile' in the 'To' slot.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    We added the "Get User Profile" step before email step and inserted Power BI User in it, then we have an email step where we are getting user profile email from above step but we are getting the errors at Get User profile step it self. Can you please help, do we need to update anything else?

    Get_User_profile.PNGGet_Userprofile_step.PNG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    We added the "Get User Profile" step before email step and inserted Power BI User in it, then we have an email step where we are getting user profile email from above step but we are getting the errors at Get User profile step it self. Can you please help, do we need to update anything else?

     

    Get_User_profile.PNGGet_Userprofile_step.PNG

  • Verified answer
    Adam-Symplifier Profile Picture
    51 on at

    So I've had success with the below:

    Unknown.png

    Use the user ID in your get profile.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard