Hi @아롬 황 • Thank you for reaching out.
Yes, this can be achieved by using Tenant Restriction. To apply tenant restrictions, you must configure your proxy to insert the Restrict-Access-To-Tenants
header containing the list of permitted tenants into traffic destined for Azure AD. If the Restrict-Access-To-Tenants: <permitted tenant list>
header is present, Azure AD only issues security tokens for the permitted tenants. If the users behind the proxy try to access any other tenant that is not in the list of permitted tenants within the Restrict-Access-To-Tenants
header, they will get below error:
Below is a high level diagram of how it works:
To test it out, you can use Fiddler for a host-based approach.
Read more: Restrict access to a tenant
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.