Skip to main content

Posts

Showing posts from May, 2017

Configure Google Domains with Office 365 and Custom Azure Web App Domain

If you are setting up Office 365 with custom domain you will be asked to configure name server pointing to below in the domain admin page. In our case it will be Google domains registration page.



If you altered name servers into Office 365 it wont help you to propagate DNS entries with Google domain management tool since you have handed over responsibilities to Microsoft Online DNS services.

⚡ Note - You required to enter DNS record in Office 365 but not in the google domain registration console.

You could achieve adding custom domain entries buy following path or finding domains in search in Office 365 admin portal.

☛ Home --> Setup --> Domains --> New Custom Record



 It may take many minutes to propagate around the world based on the condition and you could check success of propagation with tool ViewDNS.

⚓ References


Office 365 Domain Management FAQ
Adding DNS entries for Azure Web App Custom Domain

Setting up authentication SharePoint Online custom developments

There are two main models of authenticating client side codings in Add-in model or specially when is comes to SharePonint Online.

Option One :
Using UserName + Password which allowed from tenant level which is bad and end of the day you need to hard code your password and username in config file where you open the doors to security thret.

Eg :
UseOffice365Authentication
&
UseNetworkCredentialsAuthentication

Option Two:
This is also contains tenant level authentication with our control and also with app only password.
//Create new App principle
_layouts/15/AppRegNew.aspx
//Assign Persmissions to app principle
_layouts/15/AppInv.aspx

Tips - App permission XML could be easily generated by SharePoint Add-in project AppManifest as below.

Azure Functions with SharePoint Online

Common trend we came and interesting figure we came up is moving towards Severless where we are not worry about infrastructure. "Azure Functions" is a compute offering which you allow to write custom logic with choice of C#, F# and JavaScript (as for May, 2017).

From the choices above I have chosen SharePoint CSOM (Client Side Object Model) to this sample but if you prefer JSOM or REST API with the requirement, you could go with those.

Lets checkout Azure Functions with SharePoint Online where both in same cloud group which call as SaaS (Software as a Service).

🛠 Step ♳ - Create an Azure Function

You could arrive there with simply following below reference which is common thing and described in every reference.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-app-portal

🛠 Step ♴ - Adding SharePoint CSOM DLLs

To add SharePoint DLLs to Functions App environment, you required to arrive with Kudu environment.

 Function à Platform Features à Advanced Too…