Azure文件共享-存储服务帐户的凭据 [英] Azure file share - Storing credentials for a service account

查看:78
本文介绍了Azure文件共享-存储服务帐户的凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究 使用Azure VM和IIS创建IIS故障转移环境Azure文件共享.我能够使用此链接中的说明保存用户帐户的凭据, https://docs.microsoft.com/zh-cn/azure/storage/files/storage-how-to-use- Windows中的文件Windows#persisting-azure-file-share-credentials

I am working on creating a IIS fail-over environment using Azure VMs and  Azure file share. I was able to save the credentials for my user account using the directions in this link https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows#persisting-azure-file-share-credentials-in-windows

但是我无法使用此链接中所述的PS命令来保存服务帐户的凭据.

But I am unable to save credentials for the service account using the PS commands described in this link 

https://docs.microsoft.com/zh-cn/azure/storage/files/storage-how-to-use-files-windows#advanced-cmdkey-scenarios

https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows#advanced-cmdkey-scenarios


推荐答案

诺曼,

您是否按照说明登录了服务帐户? -LoadUserProfile对于包含在该cmdlet中非常重要.您也可以尝试使用runas登录服务帐户...

谢谢

威尔·格里斯
程序管理器,Azure文件

Hi Norman,

Have you logged into the service account as described? The -LoadUserProfile is pretty important to include on that cmdlet. You might also try logging into the service account with runas...

Thanks,

Will Gries
Program Manager, Azure Files


这篇关于Azure文件共享-存储服务帐户的凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆