How to set macros enable or disable policies for all users within my tenant?

Abdullah Tanveer 0 Reputation points
2025-01-23T09:51:05.3433333+00:00

I use macro-enabled Word Documents. whenever a user opens that document, a warning message pops up and asks if you user wants to enable macros or not. As we work with macros most of the time so, what I want to do is, set a group policy to enable all macros for all the users from my tenant. whenever any user opens a macro-enabled document it just let the macro work without any warnings or pop-ups. regardless of machines. Any user using any account from my tenant should not show macro warnings or enable or disable pop-ups.

I tried applying Group Policy via Microsoft 365 Apps admin center -> Customization -> Policy Management. but it doesn't work.

is there any other way to achieve this?

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,651 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,265 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiajing Hua-MFST 14,265 Reputation points Microsoft Vendor
    2025-01-27T04:09:59.59+00:00

    Hi,

    To enable macros, have you enabled "Macro Notification Settings" policy and set "Enable VBA macros" for each Office app? Like the following image which is for Excel. User's image

    If yes, please also disable "Block macros from running in Office files from the internet" for each Office app.

    User's image

    Besides, you need to wait for the policy to take effect. For more, please refer to: How the policy configuration is applied.

    • If the user has previously signed in, the check-in call is made only if the check-in interval has lapsed.
    • If the user is a member of a Microsoft Entra group that is assigned a policy configuration, the service returns the appropriate policy settings for the user and informs Click-to-Run to check back in 90 minutes.

    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.


    0 comments No comments

Your answer

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