Using Access control under SharePoint Admin URL, we can restrict based on network location.
https://docs.microsoft.com/en-US/sharepoint/control-access-based-on-network-location
After we apply, it affects workloads like teams, one drive etc. We want to restrict only one SharePoint Site URL ? Is it achievable ?
We tried to apply access control policies on SharePoint admin center to Allow access only from specific IP address, but this is affecting the other applications like OneDrive and Teams recording etc.