Create an announcement from outside the portal
Is it possible to create an announcement from either as RO or an Orchestrator Runbook to create a new announcement without having to enter it in the portal itself?
I did see a thread that pointed to this article (https://aquilaweb.net/2016/11/14/scsm-cireson-portal-announcements/) but it dates from 2016 and I know that there have been a lot of changes since then.
Best Answer
-
Justin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
@Adam_Dzyacky is correct. It can be done by making an api call to the announcement endpoint. Here's a powershell script that does just that.
5
Answers
I know for a fact it can be done without entering the portal. Mainly because I'm using it through the SMlets Exchange Connector.
Similar to the link you shared, since its all just REST calls you can take the PowerShell right from the connector and use however you'd like from wherever you want.
@Adam_Dzyacky is correct. It can be done by making an api call to the announcement endpoint. Here's a powershell script that does just that.