sp-dev-fx-webparts/samples/react-tenant-properties/README.md

4.4 KiB

Tenant Properties

Summary

This web part allows tenant administrators to manage tenant properties through a graphical interface.
We can create, edit or delete tenant properties.

Only users with Tenant Admin Role are allowed to managed tenant properties.

User without Tenant Admin Role got this message

tenant properties

List tenant properties

tenant properties

Add Tenant property

tenant properties

Edit tenant property

tenant properties

Delete tenant property

tenant properties

Compatibility

SPFx 1.11 Node.js v10 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Teams Incompatible Local Workbench Incompatible Hosted Workbench Compatible

Applies to

Web Part Properties

Property Type Required comments
WebPart Title Text no

Solution

The Web Part Use MSGraph API and need to SharePoint Administrator approve de scope "Directory.ReadWrite.All" in SharePoint Admin Center.

Solution Author(s)
Tenant Properties WebPart João Mendes

Version history

Version Date Comments
1.0.0 Mar 08, 2019 Initial release
1.0.1 October 20, 2020 Update to SPFx 1.11.0

Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp build
    • gulp bundle --ship
    • gulp package-solution --ship
  • Add to AppCatalog and deploy
  • Approve API permission on SharePoint Admin Center

Help

We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

If you're having issues building the solution, please run spfx doctor from within the solution folder to diagnose incompatibility issues with your environment.

If you encounter any issues while using this sample, create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.