Skip to content

Commit 418ed12

Browse files
Merge pull request SharePoint#5747 from andrewconnell/buildReportFixup
Build report fixup
2 parents ad6dcaf + 696b984 commit 418ed12

File tree

4 files changed

+17
-22
lines changed

4 files changed

+17
-22
lines changed

docs/solution-guidance/manage-user-sharing-expiration renamed to docs/solution-guidance/manage-user-sharing-expiration.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ localization_priority: Normal
88

99
# Manage per user expiration for existing users on a site
1010

11-
If you are a site administrator, you may need to [manage expiring access](https://https://support.office.com/article/manage-guest-expiration-for-a-site) for users that have access to content on your site. If your administrator has set an expiration time for access, each guest that you invite to the site or with whom you share individual files and folders will be given access for a certain number of days. If you want them to continue to have access, you must extend their access on a regular basis. There also may be times you want to change an exisiting users expiration time and that can be done via the below method.
11+
If you are a site administrator, you may need to [manage expiring access](https://https://support.office.com/article/manage-guest-expiration-for-a-site) for users that have access to content on your site. If your administrator has set an expiration time for access, each guest that you invite to the site or with whom you share individual files and folders will be given access for a certain number of days. If you want them to continue to have access, you must extend their access on a regular basis. There also may be times you want to change an exisiting users expiration time and that can be done via the below method.
1212

1313
## Change expiration time for existing user
1414

@@ -24,22 +24,22 @@ You can change expiration time for existing user using client side object model:
2424
## use or the results from the use of this script remains with you.
2525
2626
param(
27-
[Parameter(Mandatory = $true)]
28-
[string] $SiteUrl,
29-
30-
[Parameter(Mandatory = $true)]
31-
[string] $UserEmail,
32-
33-
[Parameter(Mandatory = $true)]
34-
[int] $DaysToExpiration
27+
[Parameter(Mandatory = $true)]
28+
[string] $SiteUrl,
29+
30+
[Parameter(Mandatory = $true)]
31+
[string] $UserEmail,
32+
33+
[Parameter(Mandatory = $true)]
34+
[int] $DaysToExpiration
3535
)
3636
3737
38-
#Connect to PNP
38+
#Connect to PNP
3939
Connect-PnPOnline -Url $SiteUrl
4040
4141
#ctx to the site
42-
$ctx = Get-PnPContext
42+
$ctx = Get-PnPContext
4343
4444
#Get the User and check current expiration
4545
$user = Get-PnPUser | ? Email -eq $UserEmail
@@ -52,11 +52,10 @@ Write-Host "Current Expiration: $($user.Expiration)"
5252
$user.Expiration = [DateTime]::UtcNow.AddDays($DaysToExpiration).ToString("yyyy-MM-ddTHH:mm:ssZ")
5353
$user.Update()
5454
$ctx.ExecuteQuery()
55-
56-
#Check new user Expiration for the user
57-
$ctx.Load($user)
58-
$ctx.ExecuteQuery()
55+
56+
#Check new user Expiration for the user
57+
$ctx.Load($user)
58+
$ctx.ExecuteQuery()
5959
6060
Write-Host "New Expiration: $($user.Expiration)"
6161
```
62-

docs/spfx/use-aadhttpclient-enterpriseapi-multitenant.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,6 @@ Add the newly generated.sppkg** file by dragging and dropping it from explorer t
467467

468468
When prompted, select the **Make this solution available to all sites in the organization** checkbox. Also, take note of the remark, that you should go to the **Service Principal Permissions Management Page** to approve pending permission requests. Confirm the deployment by selecting the **Deploy** button.
469469

470-
![Dialog prompting for confirming deployment of a SharePoint Framework solution package displayed in a web browser](../images/use-aadhttpclient-enterpriseapi-deploy-dialog.png)
471-
472470
### Grant access to the enterprise API
473471

474472
In the web browser, navigate to the tenant admin site by choosing from the Office 365 app launcher, the **Admin** option.

docs/spfx/use-aadhttpclient-enterpriseapi.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,7 @@ Add the newly generated .sppkg file by dragging and dropping it from explorer to
403403

404404
![macOS Finder window displayed on top of the web browser showing the tenant app catalog](../images/use-aadhttpclient-enterpriseapi-deploy-draganddrop.png)
405405

406-
When prompted, select the **Make this solution available to all sites in the organization** checkbox. Also, take note of the remark that you should go to the **Service Principal Permissions Management Page** to approve pending permission requests. Confirm the deployment by pressing the **Deploy** button:
407-
408-
![Dialog prompting for confirming deployment of a SharePoint Framework solution package displayed in a web browser](../images/use-aadhttpclient-enterpriseapi-deploy-dialog.png)
406+
When prompted, select the **Make this solution available to all sites in the organization** checkbox. Also, take note of the remark that you should go to the **Service Principal Permissions Management Page** to approve pending permission requests. Confirm the deployment by pressing the **Deploy** button.
409407

410408
### Grant access to the enterprise API
411409

docs/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
- name: Intercepting query string changes
267267
href: spfx/web-parts/guidance/intercepting-query-changes-in-webparts.md
268268
- name: Tools and libraries compatibility
269-
href: spfx/compatibility
269+
href: spfx/compatibility.md
270270
- name: External libraries
271271
items:
272272
- name: Add external libraries

0 commit comments

Comments
 (0)