Commit 8110e97
Adding in depth verbose logging to Graph based cmdlets (#4023)
* Adding additional information, removing alias as it works inversed from the original cmdlet name, only kept the Graph name and ditched the Exchange Online name
* Added code to distinguish the type of token being used (Delegate vs AppOnly) and using it to show a warning if properties are being set with the wrong token type
* Renaming method as this makes more sense
* Changed code to pass along the cmdlet instance so logging can take place in deeper levels
* Rewrote async functionality to become sync as PowerShell doesn't support async handling anyway
* Optimized logging
* Further fixes and optimization
* Removing logging oauth token to verbose output
* Add verbose logging of HTTP body
* Removed async from method as it was no longer async anyway
* Fixing Sync HttpClient Sends to support HTTP/2
* Further testing and optimization. Now also writing verbose if the permissions set through the attribute above the cmdlet are present in the current access token.
* Added code to distinguish the type of token being used (Delegate vs AppOnly) and using it to show a warning if properties are being set with the wrong token type
* Renaming method as this makes more sense
* Removing logging oauth token to verbose output
* Add verbose logging of HTTP body
* Removed async from method as it was no longer async anyway
* Nightly publish to PowerShell Gallery
* Nightly publish to PowerShell Gallery
* Updated documentation for Set-PnPFolderPermission (#4025)
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
* Update Set-PnPList.md (#4020)
See #3783 where an issue is described when this feature is not activated. So maybe this PR makes the documentation more clear.
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
* New cmdlet for Get-PnPTenantRestrictedSearchAllowedList (#3997)
* new cmdlet
* correct space
* add documentation
---------
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
* Update CHANGELOG.md
* Feature #4028 : return EnableAIPIntegation in Get-PnPTenant cmdlet (#4030)
Co-authored-by: Gautam Sheth <gautam.sheth@staffbase.com>
* Fix #3908: improve connection validation in ConnectOnline.cs (#4031)
Co-authored-by: Gautam Sheth <gautam.sheth@staffbase.com>
* Adding `-IsSharePointAddInsDisabled` to `Set-PnPTenant` (#4032)
* Added -IsSharePointAddInsDisabled to Set-PnPTenant
* Added PR reference
* Nightly publish to PowerShell Gallery
* Nightly publish to PowerShell Gallery
* Fix error handling in Remove-PnPTeamsChannel (#4036)
Fix Remove-PnPTeamsChannel error handling mismatch between "Team not found", "Channel not found" and no error.
* Update CHANGELOG.md
* More settings related to version trim ,ReadOnlyForUnmanagedDevices and RestrictContentOrgWideSearch (#4024)
* More settings related to version trim ,ReadOnlyForUnmanagedDevices and RestrictContentOrgWideSearch
* remove reference to forms
* remove version trim settings
---------
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
* Update CHANGELOG.md
* Fixing Sync HttpClient Sends to support HTTP/2
* Further testing and optimization. Now also writing verbose if the permissions set through the attribute above the cmdlet are present in the current access token.
* Rebasing to close the gap with dev
* Added changelog entry
* Optimizations
* Code cleanup and simplification
* Fixing typo
* Moving changelog entry to nightly
---------
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
Co-authored-by: erwinvanhunen <erwinvanhunen@users.noreply.github.com>
Co-authored-by: Paolo Pialorsi <paolo@pialorsi.com>
Co-authored-by: Mark Gort <52573368+markgort86@users.noreply.github.com>
Co-authored-by: Reshmee Auckloo <reshmee011@gmail.com>
Co-authored-by: Gautam Sheth <gautam.sheth@staffbase.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>1 parent f4820d5 commit 8110e97
File tree
202 files changed
+1279
-1209
lines changed- src/Commands
- Admin
- Apps
- AzureAD
- Base
- PipeBinds
- Graph
- Lists
- ManagementApi
- Microsoft365Groups
- Model
- Pages
- Planner
- PowerPlatform
- Environment
- PowerApps
- PowerAutomate
- Principals
- Purview
- Search
- ServiceHealth
- SiteDesigns
- Site
- Teams
- UserProfiles
- Utilities
- REST
- Web
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
202 files changed
+1279
-1209
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments