Microsoft has made anonymous display of user-names as default in Office 365 and also enforced it from August 31, 2021. I found a way to overcome it from Admin Portal. https://docs.microsoft.com/en-us/office365/troubleshoot/miscellaneous/reports-show-anonymous-user-name
I want to update this setting using PowerShell or Graph. As far as I have checked, there is no method found. Has anyone found any solution for it.
This link talks about it but it is two years old: https://answers.microsoft.com/en-us/msoffice/forum/all/anonymous-reporting-in-office-365/65e9e96f-fb04-4563-9961-e56a1fa8181d