
Note Any time you add or remove recipients, or change the link, click the command button again to refresh the list. The list is divided by who has permission to view the link, and who doesn't. This add-in uses add-in commands, so you launch the add-in by choosing this command button on the ribbon:Ī task pane appears with the list of recipients. Restart Visual Studio and open the OutlookAddinOneDriveSharing.sln file. Important If you weren't prompted to accept the installation for the IIS Express Development Certificate, navigate to Control Panel | Add/Remove Programs and choose IIS Express. Once the Outlook desktop client has started, click New Email to compose a new message. Note This may be different from your personal OneDrive account email and password.
Outlook onedrive password#
You'll be prompted to enter an email and password to use for running Outlook. Right-click the OutlookAddinOneDriveSharing project and choose Set as StartUp Project. In Solution Explorer, click the OutlookAddinOneDriveSharing project and in the Properties window, change Start Action to Office Desktop Client.
Outlook onedrive install#
If you don't have Visual Studio 2015, you can install Visual Studio Community 2015 for free. You can then use the same shares API, with action.invite, to share the URL with email recipients. With the OneDrive shares API, you can programmatically get permissions for an item by using the item's link. If there are recipients that don't have the proper permission to view the link(s), the user will have the option to grant permissions to selected recipients.
Outlook onedrive how to#
In this sample, we show you how to use the JavaScript API for Office, and the OneDrive API to create a Microsoft Outlook Add-in that displays which email recipients have permission to view the OneDrive link in the message body.

Users can now share a OneDrive item directly from within an Outlook add-in. Microsoft Outlook Add-in Sharing to OneDrive
