A Guide to Integrating ChatGPT into Microsoft Teams and SharePoint Online Without Premium Connectors Using SharePoint Framework SPFX Webpart - Part 2

We will now establish a SharePoint development environment to create an SPFX Webpart that incorporates ChatGPT.

To establish a SharePoint development environment for creating an SPFX Webpart that incorporates ChatGPT, the following prerequisites are required:

A Guide to Integrating ChatGPT into Microsoft Teams and SharePoint Online Without Premium Connectors Using SharePoint Framework SPFX Webpart - Part 1

The following steps are essential to consider before incorporating ChatGPT into Microsoft Teams and SharePoint Online using the SharePoint Framework SPFX webpart without premium connectors: 

User Experience of Yammer Admin Center

Yammer Admin Center

Yammer Admin Center
Yammer Admin Center

New User Experience of Microsoft Teams Admin Center

Microsoft Teams Admin Center

Microsoft Teams Admin Center
Microsoft Teams Admin Center

User Experience of PowerApps Admin Center

PowerApps Admin Center

PowerApps Admin Center
PowerApps Admin Center

User Experience Of OneDrive Admin Center

OneDrive Admin Center

OneDrive Admin Center
OneDrive Admin Center

Exchange Admin Center

User Experience Of Exchange Admin Center

Office 365 Exchange Admin Center
Exchange Admin Center Dashboard

New User Experience Of Azure Active Directory Admin Center

New User Experience Of Azure Active Directory Admin Center

New User Experience Of Azure Active Directory Admin Center
Azure Active Directory Admin Center

Office 365 Security & Compliance Center

New User Experience Security & Compliance Center

Office 365 Security & Compliance Center
Office 365 Security & Compliance Center
Office 365 Security & Compliance Center Alert Dashboard
Office 365 Security & Compliance Center Welcome
Office 365 Security & Compliance Center Dashboard

Office 365 Security & Compliance Center View Alert
Office 365 Security & Compliance Center View Alert 
Office 365 Security & Compliance Center View Alert Policies
Office 365 Security & Compliance Center View Alert Policies




Microsoft Flow Admin Center

New User Experience Of Microsoft Flow Admin Center

Microsoft Flow Admin Center
Microsoft Flow Admin Center

New SharePoint Online Administration Experience

New User Experience of Office 365 Admin Portal 

365 Admin Portal
365 Admin Portal
365 Admin Portal Wizard 01
365 Admin Portal Wizard 01
365 Admin Portal Wizard 02
365 Admin Portal Wizard 02
365 Admin Portal Wizard 03
365 Admin Portal Wizard 03






Our First Client-Side Web Part (Hello World) Part 2

Deployment Steps & Web Part Project Structure

Project Solution Folder Structure & Configuration

  • Here is the folder structure of solution.
Here is the folder structure of solution.
Folder Structure Of Solution.
  • To package our solution file .sppkg and upgrade the version of app we need to update package-solution.json file present under config folder.
package-solution.json file
package-solution.json

Missing dependencies while creating client web parts

Errors / challenges while creating web part,
  • npm dependencies.
    • lodash
    • color
    • yosay
    • update-notifier
    • yeoman-generator
    • uuid
    • @microsoft/node-core-library
    • fs-extra
  • gulp dependence.
    • gulp-util
    • pretty-hrtime
    • chalk
    • semver
    • archy
    • liftoff
    • tildify
    • interpret
    • v8flags
    • minimist
Install the above dependencies globally by passing command "npm install -g <dependency>"

Our First Client-Side Web Part (Hello World) Part 1

  • Create project folder in your machine by passing command "md <Your-Project-Name>"
Create Project Solution Directory
Create Project Solution Directory
  • Open project folder by passing command "cd <Your-Project-Name>" 
Get into Project Solution Directory
Get into Project Solution Directory
  • Provide solution name for creating client web part using SPFX.
Provide Solution Name
Provide Solution Name

Prerequisites to Create SharePoint Framework Client Webparts

To setup our Development environment for SPFX, We required following things to be installed on our base machine.
    1. Set up your Office 365 tenant.
    2. Install NodeJS Click Here for Installation Steps.
    3. Install a code editor (Visual Studio Code) Click Here for Installation Steps.
    4. Install Gulp and Yeoman generator Click Here for Installation Steps..
    5. Finally lets build Our First Client-Side Web Part!

Upgrade to latest npm for node security advisories

Open command prompt check the version of npm by passing following command "npm version -v"

check npm version - npm version -v
check npm version
  • Upgrade npm to latest by passing following command "npm i npm@latest -g"
Upgrade npm - npm i npm@latest -g
Upgrade npm to latest

Install Gulp and Yeoman Generator

  • Install gulp by passing the following command "npm install -g yo gulp"
    • "-g" indicates install globally on your machine.
Install gulp Globally
Install gulp

Install VS Code Editor From Official Website

  1. Click Here to download the latest version of Visual Studio Code.
  2. Steps for installing Visual Studio Code as follows,
    • Click on Setup File.
VS Code Setup
VS Code Setup

Install NodeJS From Official Website


  1. Click Here to download the latest version of Node(Recommended LTS).
  2. Steps for installing Node as follows,
    • Click on Setup File.
NodeJS Setup
NodeJS Setup

SharePoint OOTB Page Title Snippet in Master Page

1) Open Master Page in SharePoint designer.
2) Insert below snippet under "<div id="s4-bodyContainer">" tag.

Page Title Snippet

A Guide to Integrating ChatGPT into Microsoft Teams and SharePoint Online Without Premium Connectors Using SharePoint Framework SPFX Webpart - Part 2

We will now establish a SharePoint development environment to create an SPFX Webpart that incorporates ChatGPT. To establish a SharePoint de...