电力自动化所有者找不到?
希望使所有所有者的电源自动化中的每个所有者。随机的是,其中很大一部分没有报告所有者,但是我可以手动检查他们确实有主人。帮助!
Remove-Variable * -ErrorAction SilentlyContinue
$Flows = Get-adminflow
Foreach ($flow in $flows)
{
$flow.DisplayName
Get-Adminflowownerrole -EnvironmentName $flow.EnvironmentName -flowname $flow.flowname
}
它可以提取所有人的名字。它们都在不同的环境中,因此这不是根本原因。
Looking to get all owners for each flow in Power Automate. Randomly, a large portion of them are reporting no owners, but I can manually check that they do have owners. Help!
Remove-Variable * -ErrorAction SilentlyContinue
$Flows = Get-adminflow
Foreach ($flow in $flows)
{
$flow.DisplayName
Get-Adminflowownerrole -EnvironmentName $flow.EnvironmentName -flowname $flow.flowname
}
It can pull the names of all of them. They are all in different environments, so that isn't the root cause.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否查看了Set-Adminflowownerrole命令?
描述
Set-Adminflowownerrole cmdlet将所有者权限设置为流程,具体取决于参数。
链接到Microsoft文档:
Did you look at the Set-AdminFlowOwnerRole command?
Description
The Set-AdminFlowOwnerRole cmdlet sets owner permission to a flow, depending on parameters.
Link to Microsoft documentation:
set-adminflowownerrole