[英]Connect with Powershell to Dynamics CRM online with application user
I would like to use Powershell cmdlets to work with Microsoft CRM 365 online. 我想使用Powershell cmdlet在线使用Microsoft CRM 365。 I can connect with
Get-CrmConnection
using my username and password, but I would like to use an Application User instead. 我可以使用我的用户名和密码与
Get-CrmConnection
连接,但我想改用Application User。 This is the same Application user that I am using to access the CRM Web API. 这是我用来访问CRM Web API的同一应用程序用户。
I am unable to generate the correct connection string that will authenticate the Application user. 我无法生成将对应用程序用户进行身份验证的正确连接字符串。
If your intension is keep the credential secret every time you run your PowerShell script you could use InteractiveMode (microsoft link) 如果您的意图是在每次运行PowerShell脚本时都将凭据保密,则可以使用InteractiveMode (Microsoft链接)
with it the CRM Login will prompt and ask for your credentials 使用它,CRM登录将提示并要求您提供凭据
Hope it helps - M.Acosta.D 希望对您有所帮助-Acosta.D
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.