Skip to main content
Community site session details

Community site session details

Session Id : WuTR5VDtJzrwCKx7qFPsIX
Power Automate - Building Flows
Answered

MS Graph Calendarview to sharepoint list

Like (0) ShareShare
ReportReport
Posted on 2 May 2023 21:01:23 by

Hello all,

 

I would like to get the calendar events from a meeting room and save them into a sharepoint list. I have a "REST call to Graph API" successfully running and I get an output. After the REST Call, I have a parse Json step. This is all working. Now, I would like to extract "subject" and "organizer" for each event in the json object/array and save this values into a sharepoint list. 

 

Screenshot 2023-05-02 at 22.49.10.png

 

Screenshot 2023-05-02 at 22.52.31.png

 

Screenshot 2023-05-02 at 22.54.38.png

 

I am struggling to get these values out of the object/array. I've tried to create a HTML table first. When I add Create HTML step I get an error:

 

Screenshot 2023-05-02 at 22.59.06.png

 

Could someone give me a hint what I need to check to get the values out of the parse json?

 

Thanks in advance

Kay

 

  • Kayle Profile Picture
    on 04 May 2023 at 09:13:42
    Re: MS Graph Calendarview to sharepoint list

    Thanks @Expiscornovus ,

     

    it is working now 🙂

     

    BR

    Kay

  • Verified answer
    Expiscornovus Profile Picture
    32,159 Most Valuable Professional on 04 May 2023 at 08:04:21
    Re: MS Graph Calendarview to sharepoint list

    Hi @Kayle,

     

    You can use an item function for that and reference each field.

     

    Try using the expressions below within the apply to each (in a create item for example).

    item()['Subject']

     

    item()['Organizer']

     

  • Kayle Profile Picture
    on 04 May 2023 at 07:53:46
    Re: MS Graph Calendarview to sharepoint list

    Hi @Expiscornovus ,

     

    I am slowly approaching the result 🙂 

    After parsing the json, I am using now a Select Function to map the values I need. This is the output of my "SelectValues" step:

     

    {
     "body": [
     {
     "Subject": "Test1",
     "Organizer": "Kay, Pohl"
     },
     {
     "Subject": "Test2",
     "Organizer": "Kay, Pohl"
     }
     ]
    }

     

    Now, I am trying to create an item in a sharepoint list for each item in this array. I created an Apply to each step with "body('SelectValues") as input. 

     

    Screenshot 2023-05-04 at 09.49.52.png

     

    My Sharepoint list does have 2 columns. Subject and Organizer. I am able to create items in the sharepoint list, but I don't know which expression I need to use to get the Subject and Organizer value for the array. Could you please help me here again?

     

    Thanks in advance

    Kay

  • Expiscornovus Profile Picture
    32,159 Most Valuable Professional on 03 May 2023 at 14:24:25
    Re: MS Graph Calendarview to sharepoint list

    Hi @Kayle,

     

    That is correct. You can add the same value field in the Apply to each. Within the apply to each you can use a create item action.

  • Kayle Profile Picture
    on 03 May 2023 at 12:54:40
    Re: MS Graph Calendarview to sharepoint list

    Hi @Expiscornovus ,

     

    thanks for your help. It is working when I use body('Parse_JSON')?['value']

     

    The HTML Table should be just a debug information. When I now want to write the values to a sharepoint list, I need to use a "Apply to each" step, right? And for the Organizer Name, I need to use something like "item" because this is nested?

     

    BR

    Kay

  • Expiscornovus Profile Picture
    32,159 Most Valuable Professional on 03 May 2023 at 12:28:37
    Re: MS Graph Calendarview to sharepoint list

    Hi @Kayle,

     

    What field are you using in the From field of the Create HTML table? You should be able to use the value field in the From, that is an array.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete