Skip to main content

Notifications

Community site session details

Community site session details

Session Id : DmUBcNxOgb/3mi0pzfBsnW
Power Automate - General Discussion
Unanswered

Drupal Intranet to SharePoint Online News link

Like (1) ShareShare
ReportReport
Posted on 18 Apr 2024 09:19:22 by 9

Hi everyone,

 

My company is using Drupal 9 as intranet and is not planning to migrate to SPO at this point.

To give an entry point to our M365 learning pathway for end user we though of using Viva Connections app in Teams.

 

Our communication team is not against it but would like to have some integration with the Drupal intranet.

 

My idea was to use a flow to create on SharePoint Online a news link (as they appear on top of Viva Connections) when a news on Drupal is created.

 

Do you think this approach is the good one ? What would be the trigger to use and how to perform the news link creation ? I saw that the graph API can now handle SharePoint page operation but again not sure that's the good approach.

 

I would appreciate your opinion and idea to solve this.

  • TbVdl Profile Picture
    9 on 18 Apr 2024 at 12:42:50
    Re: Drupal Intranet to SharePoint Online News link

    There is a subtle difference between news post ( that are open in SharePoint) and news link (that open the link in the browser).

     

    Both have the PromotedState value of 2, do you have any idea how to handle that ?

  • TbVdl Profile Picture
    9 on 18 Apr 2024 at 09:33:37
    Re: Drupal Intranet to SharePoint Online News link

    Very Insightful many thanks 

  • sandeepstw Profile Picture
    302 Super User 2025 Season 1 on 18 Apr 2024 at 09:25:03
    Re: Drupal Intranet to SharePoint Online News link

    HI @TbVdl ,

     

    Using Microsoft Power Automate to create SharePoint news links in Viva Connections when new content is posted on can be done.

    Use the HTTP trigger in Power Automate. This will require setting up a webhook in Drupal that sends a POST request to your Power Automate flow whenever a new news item is created.

    https://www.drupal.org/project/webhooks

    Use the SharePoint HTTP action in Power Automate to create a news link. You can achieve this by sending a POST request to the SharePoint REST API to create a "PromotedState" item with a value of 2.

    While the Microsoft Graph API supports operations on SharePoint pages, for creating links directly in the news feed, using the SharePoint REST API might be more straightforward for this specific use case.

     

    Mark as solution if it helps. 

     

    Thanks,

    Sandeep Mishra

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 Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#2
rpersad Profile Picture

rpersad 16

#3
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

Overall leaderboard
Loading started