Power Automate启动Outlook失败求助:Value cannot be null错误
Power Automate Desktop启动Outlook时出现“Value cannot be null. Parameter name: type”错误的解决方法
作为Power Automate Desktop新手,尝试使用启动Outlook动作时触发以下错误:
Value cannot be null. Parameter name: type: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Failed to launch Outlook ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Microsoft.Flow.RPA.Desktop.Modules.Outlook.Actions.OutlookActions.LaunchOutlook(Variant& outlookInstance) --- End of inner exception stack trace --- at Microsoft.Flow.RPA.Desktop.Modules.Outlook.Actions.LaunchOutlook.Execute(ActionContext context) at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

以下是针对性的解决步骤:
- 先确认Outlook本身能正常运行:手动打开Outlook,检查是否能顺利进入主界面,没有登录弹窗或配置报错。如果Outlook启动失败,打开控制面板→程序和功能→找到Microsoft Office→右键选更改,执行快速修复或联机修复。
- 以管理员权限运行Power Automate Desktop:右键程序图标,选择以管理员身份运行,再测试启动Outlook的动作,避免权限不足导致组件调用失败。
- 重新注册Outlook的COM组件:打开管理员命令提示符,执行对应版本的注册命令(以Office 365/2019为例):
若为Office 2013,路径改为regsvr32.exe "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"Office15;32位系统则替换Program Files为Program Files (x86)。 - 检查动作配置:确认启动Outlook动作里没有填写错误的配置文件名称,如需指定配置文件,先在Outlook的账户设置里确认该配置文件存在。
- 更新软件版本:将Power Automate Desktop和Office都升级到最新版本,修复已知的兼容性BUG。
内容的提问来源于stack exchange,提问作者amy
相关产品推荐
相关产品推荐

