[英]Retrieve list of account entity names from Dynamics CRM (Online) using PowerShell
I wanted to know if it is possible to retrieve a list of all account names using PowerShell?我想知道是否可以使用 PowerShell 检索所有帐户名称的列表? Basically if you run the following URL in your browser https://OrgURL/api/data/v9.2/accounts?$select=name you will get the below result:基本上,如果您在浏览器 https://OrgURL/api/data/v9.2/accounts?$select=name 中运行以下 URL ,您将得到以下结果:
Is it possible to get a similar result in PowerShell with the Display names of the account records?是否可以在 PowerShell 中使用帐户记录的显示名称获得类似的结果?
Take a look into Invoke-WebRequest
.看看Invoke-WebRequest
。
In order to connect to a Dynamics 365/Dataverse instance using PowerShell, you have two options:要使用 PowerShell 连接到 Dynamics 365/Dataverse 实例,您有两个选项:
Found the issue - the application account did not have the rights to view acc records.发现问题 - 应用程序帐户没有权限查看 acc 记录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.