2020-11-08 23:44:30 -05:00
# Tenant Properties
2019-04-08 05:32:25 -04:00
## Summary
2020-10-20 22:26:41 -04:00
2019-04-08 05:32:25 -04:00
This web part allows tenant administrators to manage tenant properties through a graphical interface.
We can create, edit or delete tenant properties.
2020-10-20 11:21:10 -04:00
Only users with Tenant Admin Role are allowed to managed tenant properties.
2020-10-20 22:26:41 -04:00
### User without Tenant Admin Role got this message
2019-09-24 00:28:54 -04:00
![tenant properties ](./assets/TenantProperties5.jpg )
2020-10-20 22:26:41 -04:00
### List tenant properties
2019-09-24 00:28:54 -04:00
![tenant properties ](./assets/TenantProperties1.jpg )
2019-04-08 05:32:25 -04:00
2020-10-20 22:26:41 -04:00
### Add Tenant property
2019-09-24 00:28:54 -04:00
![tenant properties ](./assets/TenantProperties2.jpg )
2019-04-08 05:32:25 -04:00
2020-10-20 22:26:41 -04:00
### Edit tenant property
2019-09-24 00:28:54 -04:00
![tenant properties ](./assets/TenantProperties3.jpg )
2019-04-08 05:32:25 -04:00
2020-10-20 22:26:41 -04:00
### Delete tenant property
2019-09-24 00:28:54 -04:00
![tenant properties ](./assets/TenantProperties4.jpg )
2019-04-08 05:32:25 -04:00
2020-10-20 11:21:10 -04:00
## Used SharePoint Framework Version
2019-04-08 05:32:25 -04:00
2020-10-20 22:26:41 -04:00
![SPFx 1.11 ](https://img.shields.io/badge/version-1.11.0-green.svg )
2019-04-08 05:32:25 -04:00
## Applies to
2020-06-09 03:09:22 -04:00
* [SharePoint Framework ](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview )
* [Office 365 tenant ](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment )
2019-04-08 05:32:25 -04:00
## WebPart Properties
Property |Type|Required| comments
--------------------|----|--------|----------
WebPart Title| Text| no|
## Solution
2020-10-20 22:26:41 -04:00
2019-09-24 00:28:54 -04:00
The Web Part Use MSGraph API and need to SharePoint Administrator approve de scope "Directory.ReadWrite.All" in SharePoint Admin Center.
2019-04-08 05:32:25 -04:00
Solution|Author(s)
--------|---------
Tenant Properties WebPart|João Mendes
## Version history
Version|Date|Comments
-------|----|--------
1.0.0|Mar 08, 2019|Initial release
2020-10-20 11:21:10 -04:00
1.0.1|October 20, 2020|Update to SPFx 1.11.0
2019-04-08 05:32:25 -04:00
## Disclaimer
2020-10-20 11:21:10 -04:00
2019-04-08 05:32:25 -04:00
**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.**
---
## Minimal Path to Awesome
- Clone this repository
- in the command line run:
- `npm install`
- `gulp build`
- `gulp bundle --ship`
- `gulp package-solution --ship`
2020-10-20 22:26:41 -04:00
- Add to AppCatalog and deploy
- Approve API permission on SharePoint Admin Center
2019-04-08 05:32:25 -04:00
2019-04-15 05:49:10 -04:00
< img src = "https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-tenant-properties" / >