Authentication to the various Office 365 APIs and access points requires some effort. First, we need to create our application. Then we need to assign access to the individual applications. Finally, we need to generate and install a certificate for authentication. Creating the application To create the application, we first need to make our way […]
Azure
The Help Desk demo, Part 1–Creating the project
The first step creating a new website, naturally, is to create a new Visual Studio project. In this case, it’ll be a new ASP.NET MVC project built in Visual Studio 2015. I won’t go through the individual steps for creating a new web project, since that information is available in many, many places around the […]
The Help Desk demo
Anyone that has spent any time working with O365 and/or Azure APIs knows that there are thousands and thousands of how-to articles available to read. Those folks also know that most of those articles cover fairly small, easy to consume topics that cover a specific subject matter. However, after some conversations with Vesa Juvonen, it […]
Application hang when executing AuthenticationContext.AcquireTokenAsync
Introduction Recently, a fellow Microsoft Premier Field Engineer reached out to me to ask for some assistance in solving a problem that he had encountered while working with a customer that was building an MVC based SharePoint add-in that was attempting to access Azure Active Directory via the Azure Graph API. The customer had code […]
Calling Exchange Online PowerShell from an Azure web app
Introduction Kirk Evans recently wrote a blog post titled Call O365 Exchange Online API from a SharePoint App. Kirk’s post reminded me of some work that I had done with a non-profit around managing Exchange Online from a SharePoint app. This non-profit is setup such that there is an international board of directors, state level […]
Building a SharePoint Online chat room with SignalR and Azure – Part 6: Gotchas and Thoughts
Gotchas I ran into an issue in Internet Explorer where when I tried to send ANY of the AJAX messages, the request was redirected for authentication, however, it wasn’t an issue in Firefox or Chrome. If I loaded the Internet Explorer F12 developer tools, I discovered that the AJAX request was returned with a 302 […]
Building a SharePoint Online chat room with SignalR and Azure – Part 5: Deploy the app in SharePoint Online
Deploy the app in SharePoint Online The last step to actually using our chat room in a full scale environment is to deploy the SharePoint app itself. Start by right clicking the SharePoint app project in Visual Studio and selecting ‘Publish…” In the window that opens, click the “Edit” button next to the “Current profile:” […]
Building a SharePoint Online chat room with SignalR and Azure – Part 4: Deploy the site to Azure
Deploy the site to Azure Next, we need to create a publishing profile and then deploy the application to Azure. In Visual Studio, right click the Web project and select “Publish…” Since we’re going to be deploying this site to Azure, select a publish target of “Microsoft Azure Websites” in the window that opens: Visual […]
Building a SharePoint Online chat room with SignalR and Azure – Part 3: Create the SharePoint Online web part
Create the SharePoint Online web part Start by right clicking on the ChatRoom app project (not the web project!) and selecting Add –> New Item… In the window that opens, select “Client Web Part (Host Web)”, change the name to “ChatRoomWebPart”, and click “Add”. The next window gives us the option to create a new […]
Building a SharePoint Online chat room with SignalR and Azure – Part 2: Test the app in Visual Studio
Alright, let’s get on with it. F5 that baby! At this point, Visual Studio will automatically deploy our application and then launch a browser to our app. It may also ask us to login again. If it does, be sure to use an account that has permissions to deploy to the development site. Finally, it […]