A family of Microsoft relational database management systems designed for ease of use.
Macros in files downloaded from the internet or email are blocked by default in Microsoft 365 apps, which is why the assignment file keeps being blocked even after download.
Try these steps in order on the downloaded file (for example, an Access/Excel/Word macro-enabled file):
- Remove “Mark of the Web” (Unblock the file)
- Close the file and the Office app.
- In File Explorer, right-click the downloaded assignment file.
- Select Properties.
- On the General tab, look for a Security section at the bottom.
- If there is an Unblock checkbox, select it, then click Apply and OK.
- Reopen the file in the desktop app and try the macros again.
This removes the ZoneId so macros can run.Unblock-File -Path "C:\path\to\your\file.accdb" # or .xlsm/.docm, etc. - If the file is on a network share or school website
If the file is opened directly from a school network share or web location and Unblock is not available or has no effect:
- The location may be treated as Internet zone, so macros stay blocked.
- In that case, only your school IT/admin can fix it by either:
- Adding that server/URL as a Trusted site or Local intranet zone using the Site to Zone Assignment List policy, or
- Moving the file to a folder that is already in Trusted sites or Local intranet.
- If the file is on OneDrive or SharePoint (including Teams)
For assignment files stored in OneDrive/SharePoint/Teams:
- Use Open in Desktop App from the web instead of downloading via the browser. Files opened this way do not get Mark of the Web.
- If the file was downloaded via browser and is blocked, use the Unblock steps above on the local copy.
- For groups (like a class) that need macros regularly, your school IT can:
- Set the OneDrive/SharePoint domain as a Trusted site using the Site to Zone Assignment List policy, or
- Have you save/open the file from a Trusted Location on your device.
- If none of the above works
- Macro blocking can also be enforced by school policies (Group Policy / Trust Center). Only your school IT can change those.
- Provide them with the exact error and ask them to either:
- Remove Mark of the Web on the file for you, or
- Put the assignment location into Trusted sites or a Trusted Location, or
- Temporarily adjust the macro policy for that assignment.
References: