Build a better technical architecture with reusable components in React for SharePoint Framework webparts

If there is a complex web part to be implemented (for eg. with over 5000 lines of code), then the important question to ask is how to distribute the implementation logic, so it could be better maintained. From a technical architecture point of view, better readability and efficiency, the react components provide a suitable solution for it.

Another important consideration for this is to increase performance of the control during build and debugging. From experience, if a control’s logic goes beyond 5000 lines of code then the build performance decreases drastically, it takes about 30 secs or more to build and another 30 secs or more to ready the control for debugging.… [Keep reading] “Build a better technical architecture with reusable components in React for SharePoint Framework webparts”

Active Directory User Migration in Hybrid Exchange Environment Using ADMT – Part2

Configuring source and target domains

In the previous post of this series I discussed about the tasks involved in migrating a user from a domain to another in a hybrid exchange environment. Now let’s get down to the nitty-witty of migration.

Before getting into moving the users across to target domain, there are few things that need to be installed and configured in both source and target domain. Let’s start by looking at the configuration steps for source and target domains.… [Keep reading] “Active Directory User Migration in Hybrid Exchange Environment Using ADMT – Part2”

Retrieve Office 365 Audit logs using PowerShell and store in Azure table for quick retrieval

To create custom reports for Office 365 events, we could use the Audit logs from Security and Compliance center. The process is quite simple and could be implemented easily using PowerShell. In this blog, we will look at the steps for the same.

Later we will also see how we could store this data in a Azure Storage Table, so it is easy to fetch the data available.

Steps to fetch data from Office 365 Audit log using Exchange Online PowerShell

The first step in the process is to import the commands from Exchange online PowerShell.… [Keep reading] “Retrieve Office 365 Audit logs using PowerShell and store in Azure table for quick retrieval”

The struggle for meaning – Is the Intranet dead?

People struggle to find meaning in life. Our place in the world. The value we provide. Our political persuasions allow us to either rethink definitions or preserve our traditions & institutions. Funnily enough, this philosophical divide plays out in technology all the time.

The morbid question – Is the intranet dead? – seems to be popping its head up recently. I get it, the world is evolving, our expectations of ‘digital’ has changed and technology is at a point where it’s no longer a barrier to seizing opportunity.… [Keep reading] “The struggle for meaning – Is the Intranet dead?”

Modern Page approvals and customise it to automate the content publishing processes

The Site pages approval process in Modern Communication Sites provide us with an option to include an approval process to manage life cycle of content published in the Intranet.

Currently, there is no roll back process to pull a published page back or unpublish it but that can be done through custom flow and script as blogged here.

In this blog, we will look at enabling the page approval process, steps of the process and finally will have a look at way to customize the flow when needed with an example scenario.… [Keep reading] “Modern Page approvals and customise it to automate the content publishing processes”

Transferring Individual Transformation Table between two Sonus Gateways

Quick Hack for Transferring Sonus Transformation Table between two Sonus gateways

Recently I been working on migration of users from an aging Cisco platform to Skype for Business 2015 on premise platform.

Customer has two Sonus 2000 Voice Gateways connected to Enterprise grade SIP trunks providing an Active-Active connection for inbound calls.

Both gateways are connected to CUCM via SIP using 5060 as below:

Note: To meet Disaster Recovery requirements for the Business they had their Datacentre 50km+ from each other.… [Keep reading] “Transferring Individual Transformation Table between two Sonus Gateways”

Active Directory User Migration in Hybrid Exchange Environment Using ADMT – Part1

An Introduction and high-level migration approach

Over the past few months I have been working on developing a strategy for migrating users from one domain in a forest to another domain in a separate forest. Sounds quite simple at the first read of it, right? Just use ADMT and migrate the groups, user accounts and profiles, job done? Well that’s what I had thought when I started working on it.

As I started digging more and more into the details, the complexities involved started unfolding.[Keep reading] “Active Directory User Migration in Hybrid Exchange Environment Using ADMT – Part1”

PnP Provisioning PowerShell, Site Scripts or CSOM scripts – which one to use and when?

There are various approaches to plan and automate the process for Site creation and management of SharePoint Online Sites. In this blog we will look at these options and how to use with a best possible approach.

Pnp Provisioning PowerShell is a great way to automate creation of SharePoint assets through an xml or pnp template file using PowerShell. Similarly, Site scripts and site design allows us to create Site using JSON templates and also allows call to any Provisioning automation scripts or use a Template for custom implementation.… [Keep reading] “PnP Provisioning PowerShell, Site Scripts or CSOM scripts – which one to use and when?”

When and how to use React component lifecycle management in a SharePoint Framework?

There are various advantages of using React lifecycle methods in building SharePoint Framework components. It is not a necessity to use component lifecycle methods but we could get a lot out by using these methods with states. For a generic understanding of React component lifecycle methods, check here

Note: The use-cases description in this blog are specific to the SharePoint Framework lifecycle but could be considered for app using React in App model too.
The details in this blog are for guidance and can vary based on the requirements, so please use your best judgement while implementing the lifecycle methods

 

Few of the benefits of using React component lifecycle methods are :

1.… [Keep reading] “When and how to use React component lifecycle management in a SharePoint Framework?”

Walkthrough of Site Provisioning process using PnP PowerShell

In the previous blogs here, we have looked at the Provisioning process for a complex Team site. Much of complexity was easily handled by the PnP Provisioning process.

In this blog, we will look at the similar Provisioning process but from an Admin point of view and use PnPPowerShell for create and provision the site.

Steps:
The steps are actually quite simple and could be done quickly.

1. Build a Template Site to be used for creating the Provisioning Template

2.… [Keep reading] “Walkthrough of Site Provisioning process using PnP PowerShell”