How can I add a PublisherId to a GetBlob call to the Office365 Rest API to avoid throttling?

后端 未结 2 359
情话喂你
情话喂你 2021-01-24 06:46

I\'m attempting to iteratively retrieve the content from the O365 management API (found here). When I get to the \'Retrieving Content\' section, I am making a get request using

2条回答
  •  逝去的感伤
    2021-01-24 07:12

    I had the same issue and then added the "?PublisherIdentifier={id}" uri parameter like Julian mentioned. That fixed the issue for me.

    You can see the setup that I've been using at the below link (Python). It uses asyncio/aiohttp to speed up the log gathering and also performs the pagination in case you have a 'NextPageUri' header in the response.

    https://github.com/IntegralDefense/o365_log_fetch

    Documentation isn't up to speed yet, but hopefully that will change soon.

提交回复
热议问题