Troubleshooting application error “No Microsoft Outlook profiles have been created”

Troubleshooting application error “No Microsoft Outlook profiles have been created”

2016-08-24
/ /
in Blog
/

I was informed an AppV5 application was getting the following error message:

NoMicrosoftOutlookProfilesHaveBeenCreated

So what’s going on here?

The application is trying to create an email message and needs to activate Outlook to add the attachment.  This error can be worked around by launching Outlook *first*, which creates our profile, but I would prefer to not launch programs to use resources in the background if it can be avoided.

 

 

What I’d like to do is silently create our Outlook profile and then continue launching the application.  I didn’t find a particularly good solution for this, but I did eventually stumble across one with some minor modifications to meet my needs:

Or via cmd.exe:

This powershell script will launch launch Outlook into the ‘Inbox’ and terminate.  Since it’s done through ’embedded’ commands the only thing you may see is a brief blip of Outlook with the ’embedded’ icon in the taskbar.

 

Post a Comment

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.