Cross-tenant SMB access for data delivery

Faegh Lashgary, Pegah 20 Reputation points
2024-11-20T14:01:50.4366667+00:00

We are migrating some processes from Tenant A to Tenant B , while other processes will remain in Tenant A but need to deliver files to Tenant B in shared Azure Files. Azure Files will be hosted in tenant B.

  • How will the shared file system appear on Tenant A?
  • What are the recommended steps for securely setting up this SMB access across tenants?
  • Are there any considerations or limitations we need to be aware of when implementing this cross-tenant SMB access for data delivery?
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,322 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vinod Kumar Reddy Chilupuri 1,600 Reputation points Microsoft Vendor
    2024-11-20T17:33:58.3233333+00:00

    Hi @Faegh Lashgary, Pegah

    Welcome to Microsoft Q&A, thanks for posting your query.

    Setting up cross-tenant SMB access for Azure Files between Tenant A and Tenant B need to consider several steps.

    Here are the few steps that may solve your issue.

    How will the shared file system appear on Tenant A?

    The shared file share hosted in Tenant B will appear as a network drive to users in Tenant A after a proper configuration and authentication is done.

    You can use Azure Files share using SMB on Windows, Azure File share can be mapped to a drive letter, such as Z:\ or any other available letter. On Linux and macOS, share can be mounted as a directory using the SMB protocol, making it accessible like any local or network directory.

    What are the recommended steps for securely setting up this SMB access across tenants?

    Azure SMB file shares are designed for use within a single tenant's environment, and access control is managed through Azure AD authentication and authorization mechanisms.

    However, you can invite users from other Azure AD tenants to collaborate with your tenant using Azure AD B2B collaboration. This allows external users to access resources within your tenant, but it doesn't directly share the SMB file shares across tenants. Users from other tenants would need to authenticate as guest users in your tenant and be granted appropriate access to the SMB file shares.

    Secure the connection by creating private endpoints for the Azure File Share in Tenant B. This ensures that SMB traffic between Tenant A and Tenant B flows over a private network instead of the public internet.

    • Authenticate users and grant access to the shared file system using Microsoft Azure AD authentication.
    • Invite users from Tenant A to access the shared file system in Tenant B via Azure AD B2B. 
    • Ensure secure access to the shared file system over a private connection using Azure Private Link. 
    • Use Azure Firewall or Network Security Groups to restrict access to only authorized IP addresses.

    Are there any considerations or limitations we need to be aware of when implementing this cross-tenant SMB access for data delivery?

    To enable secure cross-tenant authentication and manage access effectively, advanced licenses such as Entra ID Premium are required. Tenant A must be able to access the private endpoint of the Azure File Share in Tenant B. This may involve configuring a VPN, Azure Virtual WAN, or enabling cross-tenant virtual network peering. Be aware that data movement between tenants in different Azure regions might experience slower speeds due to network delays or limited bandwidth. Ensure that systems in Tenant A can utilize the SMB protocol and that firewalls allow connections through port 445. Tools like Azure Monitor and Microsoft Defender for Storage can help monitor the shared file system in Tenant B, detecting and preventing unauthorized activity.

    Mount Azure file share on Windows | Microsoft Learn

    https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-external-users

    Cross-Tenant Migration - FastTrack – Microsoft 365 | Microsoft Learn

     

    Please feel free to contact if the issue persists, we will be glad to assist you closely. Please do consider clicking on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Marcin Policht 27,815 Reputation points MVP
    2024-11-20T14:39:22.42+00:00

    Provide access via storage account keys. This would work regardless of the Entra ID tenants involved.

    More at https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.