I have built an http module that detect file openings. I don’t want any alert to be raised when the file is crawled by a system account like ‘search’ for instance. I have tried to use isApplicationPrincipal and several others but it didn’t work.
How would you do to keep only track of “real” users modifications ?
Thank you
The SharePoint search index crawler uses “Robot-something” as HTTP user agent. I don’t know what the exact string look like, sorry for that.
You can check if the
HttpRequest.UserAgentproperty contains “Robot”: