Announcements
Hi,
I'm building a publicly available portal site and I need the ability to exclude specific IP address.
I know we can use the restrict IP option to only include certain IPs but I need the opposite here.
Any ideas of how to acheive this?
Thanks
Sam
Hi @Anonymous ,
I don't think it is possible. But if you are interested, keep in mind that local login is a deprecated feature and if you plan to use only AAD (B2C or B2B), then you can try restricting by county. Following is the reference article for you
https://nishantrana.me/2020/06/25/use-azure-ad-conditional-access-to-block-access-by-country-dynamic...
Again, this is a workaround you can try.
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
My portal has no login at all. It is a publicly available site which is why I have even more need to such a feature.
This is a basic feature of cPanel in any web hosting solution, seems very strange that MS does not provide this option.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Lucas001 17 Super User 2026 Season 1
Haque 12
CN-06091549-0 12