简体   繁体   English

如何检查 azure 存储帐户是否已加入域? 因为需要从帐户访问文件共享作为加入域的 VM 的共享路径

[英]how to check if the azure storage account is domain joined? because need to access files share from the account as shared path from domain joined VM

I am not sure weather azure storage account is domain joined or not.我不确定 azure 存储帐户是否已加入域。 I want to access files from the azure file share storage as shared path without mounting this file share.我想从 azure 文件共享存储访问文件作为共享路径,而不安装此文件共享。

• You can check if the storage account is domain joined or not by checking the on-premises ADDS environment for a computer account or a service logon account with User Principal Name/Service Principal Name as 'cifs/your-storage-account-name-here.file.core.windows.net' . • 您可以检查存储帐户是否已加入域,方法是检查计算机帐户或服务登录帐户的本地 ADDS 环境,用户主体名称/服务主体名称为“cifs/your-storage-account-name-”这里.file.core.windows.net' For this purpose, you should have 'ADUser.Read' permissions on the Active Directory environment or you should logon to the AD Users and Computers console with the ID who is a member of 'Domain Members' group .为此, you should have 'ADUser.Read' permissions on the Active Directory environment or you should logon to the AD Users and Computers console with the ID who is a member of 'Domain Members' group

• If you have 'Contributor' role access to Azure resources in your tenant, execute the below command in Azure cloud powershell to know detailed information regarding the storage account authentication with Active Directory . • 如果您对租户中的 Azure 资源具有“参与者”角色访问权限,请在 Azure 云 powershell 中执行以下命令,以了解有关使用 Active Directory 进行存储帐户身份验证的详细信息。 If the storage account is domain joined to an ADDS environment, then it will display accordingly : - If the storage account is domain joined to an ADDS environment, then it will display accordingly :-

 Debug-AzStorageAccountAuth -StorageAccountName $StorageAccountName -ResourceGroupName $ResourceGroupName -Verbose

Also, to know whether the Azure files authentication for on-premises identities is enabled or not , kindly refer to the below documentation link.此外,要了解本地身份的 Azure 文件身份验证是否已启用,请参阅以下文档链接。 It describes a powershell script which shows the Active Directory service options for files share in your storage account : -它描述了一个powershell 脚本,该脚本显示了存储帐户中文件共享的 Active Directory 服务选项:-

https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-enable#confirm-the-feature-is-enabled https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-enable#confirm-the-feature-is-enabled

Account is domain joined or not, can be checked from the Azure file share itself when we click the connect button it show authentication method as active directory enabled.帐户是否加入域,可以从 Azure 文件共享本身检查,当我们单击连接按钮时,它显示身份验证方法为启用活动目录。 and also we can check it from the overview of the account also.我们也可以从帐户的概述中检查它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从加入域的 VM 解析 Azure Private DNS 区域条目 - Resolve Azure Private DNS zone entry from domain joined VM Azure - 将文件从 VM 复制到存储帐户 - Azure - copy files from VM to a storage account Azure上加入域的VM上的Web服务 - Web Service on Domain Joined VM on Azure 如何获取 Azure 加入日期和加入的帐户? - How to get Azure join date and account that joined? 从加入域的计算机以静默方式在 Azure AD 中进行身份验证 - Authenticate in Azure AD silently from a domain joined machine 如何使用 Python 和托管标识/SAS 凭据从 VM 访问 Azure 存储帐户 - How to access Azure storage account from VM using Python and managed identity / SAS credentials 从控制台应用程序为Azure存储帐户访问生成共享访问签名URI>如何将结果输出到文件? - Generating Shared Access Signature URI from console application for Azure Storage Account Access > how to output results to file? Azure VM 共享存储帐户权限 - Azure VM shared storage account permission 如何将 SQL 备份文件从 VM 传输到存储帐户? - How to transfer SQL backup files from VM to Storage-account? 如何将文件从 React 应用程序上传到存储帐户下的 azure 文件共享? - How to upload files from a react application to azure file share under storage account?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM