Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Creating Planner task from Forms

(0) ShareShare
ReportReport
Posted on by 2

When I'm creating the Planner task I want to use the data from Microsoft Forms.
When users-ID would be attached to the task I get an error.

this is because the data is sent like this

["firstname.lastname@company.com"] 

 

If i write firstname.lastname@company.com the task will be crated.

 

How can I change the data that Power Automate is using to be able to get it to work?

 

Thanks

 

HAKGEB

  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Creating Planner task from Forms

    Hi @HAKGEB,

     

    You could use an expression like so:

    replace(replace(replace(string(variables('array')),'"',''),'[',''),']','')
     
    This will replace all instances of ", [ or ] with '' for the item string(variables('array'))
     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • HAKGEB Profile Picture
    2 on at
    Re: Creating Planner task from Forms

    Hi @ 

    Yes this works if you have one E-mail address.

    In this case I have a list in the Forms questionairy where you can choose from 1 to 4 users.

    And the data that will be sent is

    ["firstname.lastname@company.com","firstname.lastname@company.com"]

     

    is it possible to convert this string and replace some characters?
    firstname.lastname@company.com;firstname.lastname@company.com 

    Im still trying to find a solution and struggling...  🙂

     

    I will look at your new blog

     

    Thanks

    HAKGEB

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Creating Planner task from Forms

    Hi @HAKGEB 

     

    You should be able to use the dynamic content from get response details "Responder's Email".

     

    @{outputs('Get_response_details')?['body/responder']}

     

    DamoBird365_0-1614689382080.png

     

    DamoBird365_1-1614689478934.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,552 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow