Due to the nature of how Microsoft works, we currently are required to have a Microsoft Azure 'Named Location' created in your Azure tenant. This 'Named Location' also needs to be marked as Trusted.
Please create a name location with our server IP's:
135.181.161.168/32 - EU (Finland)
54.253.156.205/32 - ASIA (Australia)
5.78.30.6/32 - US (United States)
You will also want to run the 'What If' tool to identify what policies you will need to adjust.
Once you are in the What If section, select your admin user and the correlating server IP & country from above which matches your region your Microsoft Tenant is in. Clicking Run will show you what policies which are blocking your login. Be aware of the State column. Those labeled as 'Report-only' will not effect your login.
Customers who regularly use Conditional Policies will need to add their global admin to be exempt from Multi-Factor Authentication for the initial setup of the Trifecta Teams tenant. You can remove your global admin after you are fully logged into the portal and you can see all of your users on the Users page.
Now go to each of your policies and adjust the following.
Now we want to
ensure your tenant policies are excluding the new Named Location.
In some instances we have found that Microsoft may black mark a user. This user will not be able to login, even though the conditional policies are allowing you they can get through. If this happens, you will want to create a new user with the same permissions, and ensure that user is allowed access to the portal. Sometimes you can un-black mark the user by checking the 'Risky Users' section of your Azure tenant.
Though this is not ideal this is the only way we found to address this. We've seen this happen even with certain areas of the Microsoft portal as well. Preventing purchasing of products or any number of things.
How do I check why I am being blocked?
If you login to your Azure portal, and type in Conditional Policies in the search bar, you will be brought to your Conditional Policies section. If you click Login Logs on the left, then you can see the list of logins.
What you see here is we are being blocked on the MS Teams Powershell cloud app.
If we click on the login, and then 'Conditional Access' at the top, then we can see what policies are blocking our login from being successful.
Going into each of these showing 'Failure' and setup the Named Location exclusion as shown above.