Hi Edna,
Based on the error message shown in the screenshot, it appears that access to the document may be restricted by a Microsoft 365 security policy associated with the account or device being used.
You may ask your IT administrator to review the following:
1/ SharePoint unmanaged device access policies
SharePoint and OneDrive can be configured to restrict downloading, printing, or syncing files from unmanaged devices. Control access from unmanaged devices - SharePoint in Microsoft 365
2/ Microsoft Entra Conditional Access policies
These policies can limit access based on device trust, compliance status, location, or other conditions.
3/ Microsoft Intune compliance status
The administrator can verify whether the affected device is marked as Compliant, as some policies only allow access from compliant devices.
Use compliance policies to set rules for devices you manage with Intune
If your IT administrator has already reviewed the above settings and the issue still occurs, they may want to contact Microsoft Support. A support engineer can review the configuration and diagnostic data to help determine the cause of the issue and advise on next steps.
I hope this helps.