Pete Skelly

I'm Pete Skelly. This is where I leave breadcrumbs for myself about my struggles, solutions and celebrations when solving client problems with .NET, Office 365 and Azure.

Securing Azure Functions with Azure Active Directory - Part 2

This is a part two of a series of posts about consuming Azure Functions secured by Azure Active Directory. Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks The goal: create an Azure Function, secure it with Azure Active Directory, and use Angular to pull data back from the AAD secured function. In Part 1 we created an Azure Function App and a basic function. Our Azure Function is accessible from Postman or curl, but not from a simple web page. Configure Cross Origin Resource Sharing (CORS)...


Securing Azure Functions with Azure Active Directory - Part 1

Creating an Azure Function with the Azure CLI 2.0 Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks This is Part 1 of a multi-part post about consuming Azure Functions secured by Azure Active Directory. I have been using Office 365 applications with OAuth tokens for a while, but wanted to dive a bit deeper and learn some of what is going on behind the scenes. While I learned a lot for this series, and it may not be an exact match to all of the...


How To Enable External Sharing for Office 365 Group Site Collections

;tl;dr A recent attempt to share a site collection provisioned by the new "Create Site" link in SharePoint Online revealed that in order to share the site collection with external users you must change the sites "SharingPolicy" property from the default ExistingExternalUserSharingOnly to ExternalUserSharingOnly to enable new external user invitations. This must be done with the Set-SPOSite PowerShell Cmdlet The Back Story I recently had a project that required providing External User access to a newly provisioned Office 365 Group's site collection in SharePoint Online. Simple, right... Just click the Share icon on the home page, and invite the external user. Wrong! In the past, when working with clients we (ThreeWill) have provisioned a SharePoint site collection per client...


Testing SSL in ASP.NET Core on a Mac

Creating the Project Back in October 2016, Shawn Wildermuth published Testing SSL in ASP.NET Core. I came across this post while trying to get HTTPS working with ASP.NET Core on a Mac. Sadly, this post was specific to Windows. However, I want this to work so I can make some progress on Office Addin development using ASP.NET Core. What follows is more of a reminder to myself of how to get this working a Mac again, but let me know if this helps you. Create an ASP.NET Core MVC Project To start, create a new folder and then create a new MVC project. Open a terminal, or use Visual Studio Codes's terminal window, and type the...


Visual Studio 2017 Launch Party

Atlanta Visual Studio 2017 Launch Party I recently had the opportunity to present at the Azure in the ATL Meetup in Atlanta for the Visual Studio 2017 Launch Party. If you are in the Atlanta area and are interested in Azure, cloud computing, or cloud topics in general, Josh Lane runs a great MeetUp on the 3rd Tuesday of the month. Check it out if you have a chance! The March 2017 Azure in the ATL MeetUp was a special edition, and served as the Visual Studio 2017 Launch Party. There were several short presentations on Microsoft Visual Studio 2017 and related Microsoft and open source technologies within the Visual Studio "sphere of influence". I presented on "What's New in...