问题描述
因此,我尝试使用 Microsoft.PowerApps.Administration.PowerShell 为 Dynamics 365 实例恢复 PowerApp 环境失败。 根据 MS docs for the command 的示例 Syntax and example
显示您需要先创建一个 pscustomobject,然后再运行 cmdlet。尝试创建 pscustomobject 时,Powershell 抛出此错误
d4aaa888-a96z-54dg-9999-6942069b6qe9 :The term 'd4aaa888-a96z-54dg-9999-6942069b6qe9' is not recognized as
the name of a cmdlet,function,script file,or operable program. Check the spelling of the name,or if a path was included,verify that the
path is correct and try again.
At line:2 char:31
+ SourceEnvironmentId = c3aae985-d87c-49cb-8212-8624159a6ed8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ( d4aaa888-a96z-54dg-9999-6942069b6qe9:String) [],CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
备份 cmdlet 似乎可以工作,但是在恢复时我遇到了各种问题。加上只是试图创建 RestorePointDateTime 抛出一个
You cannot call a method on a null-valued expression error
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)