Confidentiality or Terms of Use Notice Dialog/Popup on SharePoint

Frequent Contributor

We are current exploring options as to how we could potentially implement a confidentiality or terms of use notice dialog/popup for users to review and accept before they can access the specific site.  While there are some SPFX solutions and 3rd party web parts available for modern experience, we were curious if there was an M365 service that we are not thinking of that we should look into.  We did find Terms of Use service - but this appears to be applying it to all M365, not to a specific site.  Any pointers would greatly be appreciated.


Thank you,


4 Replies

@Chris Ficek 


The Conditional Access TOU is the only method I know of.   When you set up a new TOU, there is the option at the bottom to target your CA policy to Users and Apps. You should be able to target to groups as well.  You test this - but only if your SPO sites are permissioned by AAD groups as opposed to SPO groups.  That's the only way I could see this working for you in such a specific manner.


Screenshot 2023-01-29 at 12.49.14.png

best response confirmed by ChristianJBergstrom (MVP)

You have the possibility to add an authentication context to a container label in which you can be very specific only for that particular site. You specify the authentication context from AAD in the container label setting. And that AC can have a terms of use for that site. Bear in mind there are some limitations (still) when using AC's for Teams.

Authentication context

Container labels


If you don't want to set up the site with other external access and sharing controls you can simply add an AC using Set-SPOSite.


Set-SPOSite -Identity -ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "MFA" (example).

Thank you for the response. We will check this out.

Thank you,
Well I never thought of that. Very neat!