Merge pull request #5222 from HarminderSethi/main

This commit is contained in:
Hugo Bernier 2024-09-28 18:16:46 -07:00 committed by GitHub
commit 9246d99985
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 5332 additions and 13060 deletions

View File

@ -20,7 +20,7 @@ Contains SPFx web part & Azure Function with below functionalities
This sample is optimally compatible with the following environment configuration: This sample is optimally compatible with the following environment configuration:
![SPFx 1.18.2](https://img.shields.io/badge/SPFx-1.18.2-green.svg) ![SPFx 1.19.0](https://img.shields.io/badge/SPFx-1.19.0-green.svg)
![Node.js v18 | v16](https://img.shields.io/badge/Node.js-v18%20%7C%20v16-green.svg) ![Node.js v18 | v16](https://img.shields.io/badge/Node.js-v18%20%7C%20v16-green.svg)
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg) ![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
![Does not work with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Incompatible-red.svg "SharePoint Server 2019 requires SPFx 1.4.1 or lower") ![Does not work with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Incompatible-red.svg "SharePoint Server 2019 requires SPFx 1.4.1 or lower")
@ -58,10 +58,10 @@ Steps to follow:
6. After registering the application, you can find the application (client) ID and Directory (tenant) ID from the overview menu option of Entra ID App. Make a note of the values for use later. 6. After registering the application, you can find the application (client) ID and Directory (tenant) ID from the overview menu option of Entra ID App. Make a note of the values for use later.
7. Select Certificates & Secrets in the manage section of Entra ID app created and select New Client Secret. Select Recommended 6 months in the Expires field. This new secret will be valid for six months. You can also choose different values such as: 7. Select Certificates & Secrets in the manage section of Entra ID app created and select New Client Secret. Select Recommended 6 months in the Expires field. This new secret will be valid for six months. You can also choose different values such as:
- 03 months - 03 months
- 12 months - 12 months
- 24 months - 24 months
- Custom start date and end date. - Custom start date and end date.
8. Select API Permissions option of Entra ID app created. 8. Select API Permissions option of Entra ID app created.
9. Select Add a permission. 9. Select Add a permission.
@ -93,10 +93,11 @@ Steps to follow:
``` ```
2. Provide the values in web part properties as per below 2. Provide the values in web part properties as per below
- Provide the Azure function app URL(without /api/m365servicehealth) in API Base URL property
- Provide Application ID URI(created during 'Expose an API' step) in Audience property
![Web Part Properties](./assets/WebPartProperties.png) - Provide the Azure function app URL(without /api/m365servicehealth) in API Base URL property
- Provide Application ID URI(created during 'Expose an API' step) in Audience property
![Web Part Properties](./assets/WebPartProperties.png)
## Contributors ## Contributors
@ -104,10 +105,11 @@ Steps to follow:
## Version history ## Version history
| Version | Date | Comments | | Version | Date | Comments |
| ------- | ----------------- | ----------------------------------- | | ------- | ------------------ | ----------------------------------- |
| 1.0 | February 15, 2023 | Initial release | | 1.0 | February 15, 2023 | Initial release |
| 2.0 | February 10, 2024 | Implementation using Azure Function | | 2.0 | February 10, 2024 | Implementation using Azure Function |
| 3.0 | September 05, 2024 | Bug fix and SPFx version upgrade |
## Minimal Path to Awesome ## Minimal Path to Awesome

View File

@ -1,7 +1,7 @@
// For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer // For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer
{ {
"name": "SPFx 1.16.1", "name": "SPFx 1.19.0",
"image": "docker.io/m365pnp/spfx:1.16.1", "image": "docker.io/m365pnp/spfx:1.19.0",
// Set *default* container specific settings.json values on container create. // Set *default* container specific settings.json values on container create.
"settings": {}, "settings": {},
// Add the IDs of extensions you want installed when the container is created. // Add the IDs of extensions you want installed when the container is created.

View File

@ -7,7 +7,7 @@
"@microsoft/microsoft-graph-client": "3.0.2", "@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.12.0" "@microsoft/teams-js": "2.12.0"
}, },
"version": "1.18.2", "version": "1.19.0",
"libraryName": "react-m-365-services-health", "libraryName": "react-m-365-services-health",
"libraryId": "f4d4b329-f1c6-49c9-a2fa-12a9816ac717", "libraryId": "f4d4b329-f1c6-49c9-a2fa-12a9816ac717",
"environment": "spo", "environment": "spo",

File diff suppressed because it is too large Load Diff

View File

@ -15,24 +15,24 @@
"dependencies": { "dependencies": {
"@fluentui/react": "8.106.4", "@fluentui/react": "8.106.4",
"@microsoft/microsoft-graph-types": "^2.25.0", "@microsoft/microsoft-graph-types": "^2.25.0",
"@microsoft/sp-adaptive-card-extension-base": "1.18.2", "@microsoft/sp-adaptive-card-extension-base": "1.19.0",
"@microsoft/sp-core-library": "1.18.2", "@microsoft/sp-core-library": "1.19.0",
"@microsoft/sp-lodash-subset": "1.18.2", "@microsoft/sp-lodash-subset": "1.19.0",
"@microsoft/sp-office-ui-fabric-core": "1.18.2", "@microsoft/sp-office-ui-fabric-core": "1.19.0",
"@microsoft/sp-property-pane": "1.18.2", "@microsoft/sp-property-pane": "1.19.0",
"@microsoft/sp-webpart-base": "1.18.2", "@microsoft/sp-webpart-base": "1.19.0",
"moment": "^2.29.4", "moment": "^2.29.4",
"react": "17.0.1", "react": "17.0.1",
"react-dom": "17.0.1", "react-dom": "17.0.1",
"tslib": "2.3.1" "tslib": "2.3.1"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/eslint-config-spfx": "1.18.2", "@microsoft/eslint-config-spfx": "1.20.1",
"@microsoft/eslint-plugin-spfx": "1.18.2", "@microsoft/eslint-plugin-spfx": "1.20.1",
"@microsoft/rush-stack-compiler-4.5": "0.2.2", "@microsoft/rush-stack-compiler-4.5": "0.2.2",
"@microsoft/rush-stack-compiler-4.7": "0.1.0", "@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "1.18.2", "@microsoft/sp-build-web": "1.20.1",
"@microsoft/sp-module-interfaces": "1.18.2", "@microsoft/sp-module-interfaces": "1.20.1",
"@rushstack/eslint-config": "2.5.1", "@rushstack/eslint-config": "2.5.1",
"@types/react": "17.0.45", "@types/react": "17.0.45",
"@types/react-dom": "17.0.17", "@types/react-dom": "17.0.17",
@ -41,7 +41,7 @@
"eslint": "8.7.0", "eslint": "8.7.0",
"eslint-plugin-react-hooks": "4.3.0", "eslint-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2", "gulp": "4.0.2",
"spfx-fast-serve-helpers": "~1.18.9", "spfx-fast-serve-helpers": "~1.19.3",
"typescript": "4.7.4" "typescript": "4.7.4"
} }
} }

View File

@ -10,7 +10,7 @@
"Service Health for Microsoft 365 solution show the health status for all the M365 services" "Service Health for Microsoft 365 solution show the health status for all the M365 services"
], ],
"creationDateTime": "2023-02-03", "creationDateTime": "2023-02-03",
"updateDateTime": "2024-02-10", "updateDateTime": "2024-09-05",
"products": [ "products": [
"SharePoint" "SharePoint"
], ],
@ -21,7 +21,7 @@
}, },
{ {
"key": "SPFX-VERSION", "key": "SPFX-VERSION",
"value": "1.16.1" "value": "1.19.0"
} }
], ],
"thumbnails": [ "thumbnails": [