Symptoms

Office 365. readCSPAccounts.py script fails:

ProtocolError for localhost:8440/RPC2: 401 Unathorized

Cause

Operations Automation API credential information is not added to the Provider CP > Applications > Office 365 > Instances > [application instance] > Settings application instance properties tab.

Resolution

Add required API access credentials according to the Creating 'Office 365' Application Instance documentation article.

Internal content