Office365 agent start collecting data after creating/activating the agent but fails after a while when trying to collect service health and license related data due to expired certificate of the app.
Repeating Error similar to below is logged in the agent log:
INFO [Quartz[0]-12678] com.dell.agent.office365.Office365AgentImpl - Service status collection start
INFO [Quartz[0]-12678] com.dell.agent.office365.collector.ServicesHealthCollector - RestUrlByX509: https://manage.office.com/api/v1.0/6192c502-e888-48dd-8a9e-70ff730924db/ServiceComms/CurrentStatus, Response Code: 401, Message: Unauthorized
INFO [Quartz[0]-12678] com.dell.agent.office365.collector.ServicesHealthCollector - The result of requesting Service Status API: 401 - Unauthorized
INFO [Quartz[0]-12678] com.dell.agent.office365.collector.ServicesHealthCollector - RestUrlByX509: https://manage.office.com/api/v1.0/6192c502-e888-48dd-8a9e-70ff730924db/ServiceComms/Messages, Response Code: 401, Message: Unauthorized
INFO [Quartz[0]-12678] com.dell.agent.office365.collector.ServicesHealthCollector - The result of requesting Service Message API: 401 - Unauthorized
INFO [Quartz[0]-12678] com.dell.agent.office365.Office365AgentImpl - Service status collection end