# Why does Microsoft Office block access to files on a share?

- Link: https://www.agilicus.com/faq/why-does-microsoft-office-block-access-to-files-on-a-share/
- Published: 2026-10-27T17:31:46+00:00
- Author: Don Bowman

You may see this message when you open a Word, Excel, PowerPoint, or PDF file from
a mounted share:

> Microsoft Office has blocked access to “https://<share-name>.share.<your-domain
> >/…” because the source uses a sign-in method that may be insecure. We recommend
> contacting your IT support to discuss how to make this file more secure.

Adobe Acrobat can instead show a Windows Security prompt that asks for a user name
and password for the share host. Both messages have the same cause.

## Why does it happen?

An Agilicus share authenticates each request with an API key, and presents that 
key as HTTP Basic authentication to the share host. Microsoft 365 Apps on Windows
now block Basic authentication prompts by default, so Word, Excel, PowerPoint, and
other Office apps refuse to open files from that host. Microsoft made the change
because Basic authentication sends credentials in a form that is easy to capture
and reuse.

This is not a share permission problem. The share still mounts in File Explorer,
and the same file opens in the browser from Profile. The block applies only to the
Office app, and the message names the share host.

## How do I allow Office to open files from a share?

Add the share host to the list of hosts that may show Basic authentication prompts.
The host is the name in the message, in the form <share-name>.share.<your-agilicus-
domain>. You can also find it in Profile by selecting Manual Mount.

Use either of these methods.

### Group Policy

 1. Download at least version 5359.1000 of the Group Policy Administrative Template
    files (ADMX/ADML) for Microsoft 365 Apps.
 2. In the Group Policy Management Console, open User Configuration > Policies > Administrative
    Templates > Microsoft Office 2016 > Security Settings.
 3. Enable **Allow specified hosts to show Basic Authentication prompts to Office apps**.
 4. Enter the share host names, separated by semicolons. Wildcards are not supported,
    so list each share host.
 5. Run `gpupdate /force` on the affected computers, then restart the Office app.

### Cloud Policy

If you manage Microsoft 365 Apps with Cloud Policy, create or edit a policy at config.
office.com with the same setting, **Allow specified hosts to show Basic Authentication
prompts to Office apps**, and enter the share host names. Assign the policy to the
users who need access.

The setting takes effect for new Office sessions. Ask the user to close and reopen
the app.

Your Microsoft 365 security recommendations may report the setting as **Block basic
authentication prompts** and show that your tenant meets the standard. Do not disable
the block for all servers. Use the allow list to name only the share hosts.

## Is allowing Basic authentication safe?

The policy allows Basic authentication prompts only for the hosts you name. It does
not turn off the protection for other servers. Keep the list to the shares that 
need it, review it when shares change, and remove a host when you retire the share.
Microsoft recommends modern authentication where a server supports it. An Agilicus
share depends on the API key, so the host allow list is the practical way to keep
Office working with the share.

## See also

 * [Shares guide](https://www.agilicus.com/anyx-guide/product-guide-shares/)
 * [My share gives List Error](https://www.agilicus.com/faq/my-share-gives-list-error/)
 * [Basic authentication sign-in prompts are blocked by default in Microsoft 365 Apps](https://learn.microsoft.com/en-us/microsoft-365-apps/security/basic-authentication-prompts-blocked)(
   Microsoft Learn)
