Jun 28 2021
I have a PowerShell script running daily through task scheduler and I'm getting the following when running the export api:
Error message: The remote server returned an error: (401) Unauthorized.
# You can use a relative date range for the export as well, by building out a date object$export = "https://www.yammer.com/api/v1/export?since=$dayBefore&include=csv"
invoke-webrequest : Requested export of model MessageVersion not allowed for 12345679000
i have 3 other yammer api's using the ame token and works just fine. it is just the above export api that stopped working recently.
i even tried a new app registration w/ new token just to see if that helped but no luck.