While deploying app for outlook from Dynamics CE you will see an error in red in front of users mailbox "Issue when adding to outlook". If you click more details, you see the message "Invalid data source operation".
If you navigate to Manage addins from a users mailbox, you will see the following error:
"Could not locate Client Access Virtual Directory Object with InternalURl stamped for ECP, service."
Note : For an Office addin to be deployed to a user's mailbox in Exchange, "AppsForOfficeEnabled" should be true. You can the following command to check the configuration settings through Exchange Management Shell (EMS).
Get-OrganizationConfig | Format-List AppsForOfficeEnabled