Share via

SharePoint file post-processing may take up to 24 hours

M, Baskar(Cognizant) 0 Reputation points
2025-10-13T14:44:23.2633333+00:00

Microsoft scanning is happening quickly when we place a file in folder ,is there are anyways to initiate or invoke scanTo do Forcefull scan on a file

Microsoft 365 and Office | SharePoint | For business | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Sophie N 14,955 Reputation points Microsoft External Staff Moderator
    2025-10-14T00:42:32.9366667+00:00

    Dear @M, Baskar(Cognizant),

    Thank you for posting your questions on the Microsoft Q&A forum. SharePoint Online uses Microsoft 365’s built-in anti-malware engine to scan files asynchronously after upload. This means scans are not immediate and can take time based on file type and system heuristics. Post-processing tasks (such as metadata extraction and OCR) may take up to 24 hours, which is expected behavior. 

    Currently, there is no supported method to force an immediate virus scan on a file in SharePoint Online. Scanning is triggered automatically by Microsoft’s security services and cannot be manually invoked. If you need enhanced protection or near real-time scanning, we recommend enabling Microsoft Defender for Office 365 Safe Attachments for SharePoint, OneDrive, and Teams. This adds advanced sandboxing and zero-day malware protection. 

    For more details, please refer to these official Microsoft resources: 

    Please let me know if you need guidance on enabling Defender or configuring Safe Attachments. I'm happy to assist further. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    User's image

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.