I'd like to block system-wide the request to the Graph API getting profile images from Graph that is using this url:
https://tasks.office.com/COMPANY.onmicrosoft.com/GraphApiV1/GetUserPhotoAsync
I've tested it with uBlock Origin and it works with this rule:
||tasks.office.com/COMPANY.onmicrosoft.com/GraphApiV1/GetUserPhotoAsync?
The downside is that it works only in a single browser and I cannot block profile images in Teams or other applications.
So I thought I add this address to my ESET's Web & Email block list like shown here, but it doesn't work. The images still load. I've tried various patterns like these:
https://tasks.office.com/COMPANY.onmicrosoft.com/GraphApiV1/GetUserPhotoAsync https://tasks.office.com/COMPANY.onmicrosoft.com/GraphApiV1/GetUserPhotoAsync? https://tasks.office.com/COMPANY.onmicrosoft.com/GraphApiV1/GetUserPhotoAsync?* *.office.com/COMPANY.onmicrosoft.com/GraphApiV1/GetUserPhotoAsync?*
What else can I try?