- #Open public calendar outlook 2016 how to#
- #Open public calendar outlook 2016 code#
- #Open public calendar outlook 2016 windows#
WebServerClient, AuthorizationServerDescription and OutgoingWebResponse in the snippet below are members of the DotNetOpenAuth library, Also, it contains permission scopes for interacting with Outlook RESTĪPI, see this link. It contains authorization data, that can be found at Microsoft Live Application. It contains the collection of entities, which we will deserialize into our models below:Ĭreate the Models folder with the following model classes: public class OutlookCalendar Outlook REST API returns calendars and events as JSON object called Data. Here will be data entities and helper class, that we will use for interacting with Outlook REST API. OutlookApi.Wrapper (Class library, describes API interaction).So, our solution will contain 3 assemblies: NET, while authorization is bound to MVC. ArchitectureĪll logic in the solution will be divided into 3 parts: MVC presentation, Outlook server interaction and OAuth2 authorization.ĪPI interaction will be separated from authorization, because it is independent from. Using API methods with the received access token. Authorization by the OAuth 2.0 protocol and getting access token.Ģ. The scheme of interacting with Outlook Calendar by REST API is the following:ġ. Integrating with Outlook Calendar Outlook REST API Descriptionįor interaction with Outlook Calendar we will use Outlook REST API, see this link. Note that your port will be different and depends on MVC project In our example it will be localhost:58342/Auth/. Redirect URL is our application address that matches MVC controller method that receives authorization codeįrom Microsoft server as GET parameter. *authorization is done by the OAuth 2.0 protocol. In the left sidebar open API Settings and specify Redirect URL*. We will put them into the configuration file of our application later.Ĥ. In the left sidebar open App Settings and copy ClientId and Client secret. "Scheduler Demo") and language, agree with the terms.ģ. Click Create application on this page (skip this step if you haven't created applications before).Ģ. You will see a page that contains a list of registered apps.
#Open public calendar outlook 2016 windows#
Sign in to Windows Live application management site.ġ. In this tutorial we will load calendars and offer a user to select one of them. After you do that, switch back to your Mail Inbox (CTRL+1) Now go back and re-open the Public Folders (CTRL+6) Below the All Public Folder listing, there should be a Favorites. Right click on each one you need a shortcut to and select Add to Favorites. Note: if we want to get Outlook Calendar events by API, we should select start and end loading date and one of the existing calendars. Expand public folders so you can see all of the accessible folders. We should set up Windows Live Application and get credentials for authorization in our project.
#Open public calendar outlook 2016 code#
It should be noted that all code in this tutorial is valid for MVC 4 application.įor executing methods of Outlook REST we should have access token that is received on successful authorization by OAuth 2.0 protocol. NET MVC 5 that uses Outlook Calendar as data source, without using your own database.Īfter authorization a user will be able to see Outlook Calendar events of his Microsoft Live account.
#Open public calendar outlook 2016 how to#
This article explains how to implement calendar with DHTMLX Scheduler. Tested this procedure with four other test accounts and all worked as per my instructions.Synchronization with Outlook Calendar Introduction (by default, this option appears to be turned on by default so may not need to be done)
If your Favorites is not showing yet, follow this This step is important -> close Outlook and then re-open (this seems to refresh my listings)Īll the mail items that you added should show up in Favorites at the top now You should be able to expand that folder now to view all of the Public folders that you want as Favoritesįor all the mail folder items, right click and select Show in Favorites.
Now go back and re-open the Public Folders (CTRL+6)īelow the All Public Folder listing, there should be a Favorites. Right click on each one you need a shortcut to and select Add to FavoritesĪfter you do that, switch back to your Mail Inbox (CTRL+1) Procedures to get Public Folder Favorites to show upĮxpand public folders so you can see all of the accessible folders You do this, CTRL+1 and CTRL+6 switches between Folder list and non-folder list. I'm hope this will help others with the Favorites issues. Yeah, this has been driving me crazy for the last couple of days so I set aside what what I had originally scheduled to do and I think I have this figured out now.