Microsoft 365 Integration Profile not working: "Microsoft 365 Update User Activity" flow fails with error: "Only inner join is supported for Audit query."DescriptionMicrosoft 365 Integration Profile not working: "Microsoft 365 Update User Activity" flow fails with error: "Only inner join is supported for Audit query."Steps to Reproduce > Configure Microsoft 365 Integration Profile following doc below: https://docs.servicenow.com/bundle/rome-it-asset-management/page/product/software-asset-management2/concept/integrating-with-microsoft365.html > "Microsoft 365 Update User Activity" flow fails: "Look up Audit Logs Stream" action fails if we use expand = userid:{"error":{"code":"0x80040216","message":"Only inner join is supported for Audit query."}} This is because the API support for "expand=userid" parameter in Audit API has been stopped from Microsoft. WorkaroundDownload the XML file attached to the PRB - PRB1558030_MS365Activity_Fix.xmlImport the update set XML to an affected instance and commit the update set - PRB1558030_MS365ActivityFixConfigure the Microsoft 365 Connections (if not already done) and run the profile jobsNOTE: To receive any updates to the files in this update set in the future, set the "Replace on Upgrade" flag to true in sys_update_xml tableRelated Problem: PRB1558030