From fc3007c6f7540df8492c9206bfa7f67fe077fe0e Mon Sep 17 00:00:00 2001 From: Jens Haile Date: Wed, 23 Nov 2022 11:44:02 +0100 Subject: [PATCH] Bugfix on modern team site creation. If an empty or no description was passed the creation is crashed. It seems that the serialized paylod for the graph call does not like empty strings. --- ...DelegatedPermissions-0-00000.response.json | 2 +- ...DelegatedPermissions-0-00001.response.json | 2 +- ...DelegatedPermissions-0-00002.response.json | 2 +- ...DelegatedPermissions-1-00000.response.json | 2 +- ...DelegatedPermissions-1-00001.response.json | 2 +- ...plicationPermissions-1-00000.response.json | 2 +- ...plicationPermissions-1-00001.response.json | 2 +- ...plicationPermissions-1-00002.response.json | 2 +- ...icationPermissions-101-00000.response.json | 2 +- ...icationPermissions-101-00001.response.json | 2 +- ...icationPermissions-201-00000.response.json | 2 +- ...icationPermissions-201-00001.response.json | 2 +- ...icationPermissions-301-00000.response.json | 2 +- ...icationPermissions-301-00001.response.json | 2 +- ...DelegatedPermissions-0-00000.response.json | 2 +- ...DelegatedPermissions-0-00001.response.json | 2 +- ...DelegatedPermissions-0-00002.response.json | 2 +- ...DelegatedPermissions-0-00003.response.json | 2 +- ...DelegatedPermissions-0-00004.response.json | 2 +- ...SiteUsingDelegatedPermissions-0.properties | 2 +- ...legatedPermissions-100-00000.response.json | 2 +- ...legatedPermissions-100-00001.response.json | 2 +- ...legatedPermissions-100-00002.response.json | 2 +- ...plicationPermissions-1-00000.response.json | 1 + ...plicationPermissions-1-00001.response.json | 1 + ...plicationPermissions-1-00002.response.json | 1 + ...icationPermissions-101-00000.response.json | 1 + ...icationPermissions-101-00001.response.json | 1 + ...icationPermissions-201-00000.response.json | 1 + ...icationPermissions-201-00001.response.json | 1 + ...icationPermissions-301-00000.response.json | 1 + ...icationPermissions-301-00001.response.json | 1 + ...plicationPermissions-1-00000.response.json | 1 + ...plicationPermissions-1-00001.response.json | 1 + ...plicationPermissions-1-00002.response.json | 1 + ...icationPermissions-101-00000.response.json | 1 + ...icationPermissions-101-00001.response.json | 1 + ...icationPermissions-201-00000.response.json | 1 + ...icationPermissions-201-00001.response.json | 1 + ...icationPermissions-301-00000.response.json | 1 + ...icationPermissions-301-00001.response.json | 1 + ...plicationPermissions-0-00000.response.json | 2 +- ...plicationPermissions-0-00001.response.json | 2 +- ...plicationPermissions-0-00002.response.json | 2 +- ...plicationPermissions-0-00003.response.json | 2 +- ...teUsingApplicationPermissions-0.properties | 2 +- ...plicationPermissions-1-00000.response.json | 2 +- ...plicationPermissions-1-00001.response.json | 2 +- ...icationPermissions-100-00000.response.json | 2 +- ...icationPermissions-100-00001.response.json | 2 +- ...icationPermissions-100-00002.response.json | 2 +- ...icationPermissions-101-00000.response.json | 2 +- ...icationPermissions-101-00001.response.json | 2 +- ...icationPermissions-101-00002.response.json | 2 +- ...icationPermissions-201-00000.response.json | 2 +- ...icationPermissions-201-00001.response.json | 2 +- ...icationPermissions-201-00002.response.json | 2 +- ...icationPermissions-301-00000.response.json | 2 +- ...icationPermissions-301-00001.response.json | 2 +- ...plicationPermissions-0-00000.response.json | 2 +- ...plicationPermissions-0-00001.response.json | 2 +- ...plicationPermissions-0-00002.response.json | 2 +- ...plicationPermissions-0-00003.response.json | 2 +- ...plicationPermissions-0-00004.response.json | 2 +- ...plicationPermissions-0-00005.response.json | 2 +- ...teUsingApplicationPermissions-0.properties | 2 +- ...icationPermissions-100-00000.response.json | 2 +- ...icationPermissions-200-00000.response.json | 2 +- ...icationPermissions-300-00000.response.json | 1 + ...icationPermissions-300-00001.response.json | 1 + ...icationPermissions-300-00002.response.json | 1 + ...icationPermissions-300-00003.response.json | 1 + ...plicationPermissions-0-00000.response.json | 1 + ...plicationPermissions-0-00001.response.json | 1 + ...plicationPermissions-0-00002.response.json | 1 + ...plicationPermissions-0-00003.response.json | 1 + ...plicationPermissions-0-00004.response.json | 1 + ...plicationPermissions-0-00005.response.json | 1 + ...riptionApplicationPermissions-0.properties | 1 + ...icationPermissions-100-00000.response.json | 1 + ...icationPermissions-200-00000.response.json | 1 + ...icationPermissions-300-00000.response.json | 1 + ...icationPermissions-300-00001.response.json | 1 + ...icationPermissions-300-00002.response.json | 1 + ...icationPermissions-300-00003.response.json | 1 + ...plicationPermissions-0-00000.response.json | 1 + ...plicationPermissions-0-00001.response.json | 1 + ...plicationPermissions-0-00002.response.json | 1 + ...plicationPermissions-0-00003.response.json | 1 + ...plicationPermissions-0-00004.response.json | 1 + ...plicationPermissions-0-00005.response.json | 1 + ...riptionApplicationPermissions-0.properties | 1 + ...icationPermissions-100-00000.response.json | 1 + ...icationPermissions-200-00000.response.json | 1 + ...icationPermissions-200-00001.response.json | 1 + ...icationPermissions-200-00002.response.json | 1 + ...icationPermissions-200-00003.response.json | 1 + ...icationPermissions-300-00000.response.json | 1 + ...icationPermissions-300-00001.response.json | 1 + ...icationPermissions-300-00002.response.json | 1 + ...icationPermissions-300-00003.response.json | 1 + .../SharePoint/SiteCreationTests.cs | 150 +++++++++++++++++- .../Core/Internal/SiteCollectionCreator.cs | 6 +- 103 files changed, 255 insertions(+), 52 deletions(-) create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00003.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00003.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00004.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00005.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0.properties create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-100-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-200-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00003.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00003.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00004.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00005.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0.properties create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-100-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00003.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00000.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00001.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00002.response.json create mode 100644 src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00003.response.json diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00000.response.json index b398897a7d..4506fae96e 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"00fd0ca0-30ec-3000-7e8a-efec7193ac90","SPClientServiceRequestDuration":"48","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC\u002B01:00) Brussels, Copenhagen, Madrid, Paris\u0022,\u0022Id\u0022:3,\u0022Information\u0022:{\u0022Bias\u0022:-60,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:1,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022,\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:1,\u0022FirstWeekOfYear\u0022:2,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022;\u0022,\u0022LocaleId\u0022:2067,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022.\u0022,\u0022Time24\u0022:true,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00228c8e101c-1b0d-4253-85e7-c30039bf46e2\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b15f7ba0-a066-5000-adee-9003fd804a28","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00001.response.json index e65bf0fc70..d4f644c696 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"00fd0ca0-80fc-3000-7e8f-6f8a0c35645a","SPClientServiceRequestDuration":"50","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022b32780e9-df70-4548-a735-4e7f055415a1\u0022,\u0022Id\u0022:\u0022b56adf79-ff6a-4964-a63a-ff1fa23be9f8\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b15f7ba0-706e-5000-adee-9b8b9f11789a","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00002.response.json index 97aa48c6c9..fb3f3ac0e5 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-0-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Date":"Wed, 15 Dec 2021 10:28:52 GMT","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"d0aa61bb-f417-4b3e-9a1d-9e72b1f3fbe5","client-request-id":"d0aa61bb-f417-4b3e-9a1d-9e72b1f3fbe5","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022West Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00225\u0022,\u0022ScaleUnit\u0022:\u0022000\u0022,\u0022RoleInstance\u0022:\u0022AM1PEPF0000C42C\u0022}}","OData-Version":"4.0"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/beta/$metadata#users(\u002733aca310-a489-4121-b853-663d0327fe08\u0027)/informationProtection/policy/labels\u0022,\u0022value\u0022:[{\u0022id\u0022:\u0022c3abfe57-486b-49ee-af20-8242ca69f5ad\u0022,\u0022name\u0022:\u0022Confidential\u0022,\u0022description\u0022:\u0022\u0022,\u0022color\u0022:\u0022\u0022,\u0022sensitivity\u0022:1,\u0022tooltip\u0022:\u0022Sensitivity label for confidential content\u0022,\u0022isActive\u0022:true,\u0022parent\u0022:null},{\u0022id\u0022:\u0022fc60ee7c-2723-44c1-a0ef-296c3c36babc\u0022,\u0022name\u0022:\u0022General\u0022,\u0022description\u0022:\u0022\u0022,\u0022color\u0022:\u0022\u0022,\u0022sensitivity\u0022:0,\u0022tooltip\u0022:\u0022Default sensitivity label\u0022,\u0022isActive\u0022:true,\u0022parent\u0022:null}]}"} \ No newline at end of file +{"IsSuccessStatusCode":false,"StatusCode":403,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"87d7328e-c5a3-4046-ad72-b3e6a9601c84","client-request-id":"87d7328e-c5a3-4046-ad72-b3e6a9601c84","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022002\u0022,\u0022RoleInstance\u0022:\u0022DU2PEPF000107FE\u0022}}","Link":"\u003Chttps://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,Beta_SensitivityLabels\u0026from=2021-02-01\u0026to=2021-03-01\u003E;rel=\u0022deprecation\u0022;type=\u0022text/html\u0022,\u003Chttps://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,Beta_SensitivityLabels\u0026from=2021-02-01\u0026to=2021-03-01\u003E;rel=\u0022deprecation\u0022;type=\u0022text/html\u0022,\u003Chttps://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,Beta_SensitivityLabels\u0026from=2021-02-01\u0026to=2021-03-01\u003E;rel=\u0022deprecation\u0022;type=\u0022text/html\u0022","Deprecation":"Mon, 15 Feb 2021 23:59:59 GMT","Sunset":"Mon, 15 Aug 2022 23:59:59 GMT","Date":"Wed, 23 Nov 2022 09:25:14 GMT"},"Response":"{\u0022error\u0022:{\u0022code\u0022:\u0022UnknownError\u0022,\u0022message\u0022:\u0022\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:25:14\u0022,\u0022request-id\u0022:\u002287d7328e-c5a3-4046-ad72-b3e6a9601c84\u0022,\u0022client-request-id\u0022:\u002287d7328e-c5a3-4046-ad72-b3e6a9601c84\u0022}}}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00000.response.json index 121e34079f..8b66a994af 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"08fd0ca0-3019-3000-7e8a-ed09798744f8","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC\u002B01:00) Brussels, Copenhagen, Madrid, Paris\u0022,\u0022Id\u0022:3,\u0022Information\u0022:{\u0022Bias\u0022:-60,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:1,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022,\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:1,\u0022FirstWeekOfYear\u0022:2,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022;\u0022,\u0022LocaleId\u0022:2067,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022.\u0022,\u0022Time24\u0022:true,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00228c8e101c-1b0d-4253-85e7-c30039bf46e2\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b15f7ba0-00d6-5000-adee-93884ee74d78","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00001.response.json index b71c89579f..f3659b0883 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateCommunicationSiteAdvancedUsingDelegatedPermissions-1-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"08fd0ca0-c020-3000-7e8f-6109fd464c34","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022b32780e9-df70-4548-a735-4e7f055415a1\u0022,\u0022Id\u0022:\u0022b56adf79-ff6a-4964-a63a-ff1fa23be9f8\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b15f7ba0-d0dc-5000-adee-90b055cea860","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00000.response.json index fccd66dc8c..71ba2cd6d5 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"818642a0-d0eb-4000-290a-e9645ef80ae1","SPClientServiceRequestDuration":"215","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC\u002B01:00) Brussels, Copenhagen, Madrid, Paris\u0022,\u0022Id\u0022:3,\u0022Information\u0022:{\u0022Bias\u0022:-60,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:1,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022,\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:1,\u0022FirstWeekOfYear\u0022:2,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022;\u0022,\u0022LocaleId\u0022:2067,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022.\u0022,\u0022Time24\u0022:true,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00228c8e101c-1b0d-4253-85e7-c30039bf46e2\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96607ba0-309d-5000-7839-39427cad7d81","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00001.response.json index e037c47fe0..53e230b3a5 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-5001-4000-290a-e7425799b44a","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022b32780e9-df70-4548-a735-4e7f055415a1\u0022,\u0022Id\u0022:\u0022b56adf79-ff6a-4964-a63a-ff1fa23be9f8\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96607ba0-e0a8-5000-7839-3f9d49785584","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00002.response.json index 53cc17e494..65ec1b2f1e 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-1-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-6050-4000-290a-e3b0f8209142","SPClientServiceRequestDuration":"683","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022odata.null\u0022:true}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-8084-5000-7839-367d32fc05f0","SPClientServiceRequestDuration":"877","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022odata.null\u0022:true}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00000.response.json index 8bb15edd72..dff8aeb1e4 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-3025-4000-44f5-6c6e3f1f4d07","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022a5f687e3-6783-4295-8e6f-f95fb09c1d83\u0022,\u0022Url\u0022:\u0022https://bertonline-admin.sharepoint.com\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-6047-5000-aa1c-cc14887c32b6","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00001.response.json index da5c2a9e69..f9f499b7ff 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-101-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-002c-4000-44f5-643e4f7ca6da","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022159c6b93-32dc-45d5-a376-7b03ea9ad542\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-1052-5000-aa1c-ccd54f3e888a","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00000.response.json index 579b3364fa..6559cb6cbe 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-e031-4000-44f5-6c87c245f4b2","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022a5f687e3-6783-4295-8e6f-f95fb09c1d83\u0022,\u0022Url\u0022:\u0022https://bertonline-admin.sharepoint.com\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-e05a-5000-aa1c-c507febe70a0","SPClientServiceRequestDuration":"17","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00001.response.json index 21f6d66f01..bddf55d7d9 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-201-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-b038-4000-44f5-6d5863c5988a","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022159c6b93-32dc-45d5-a376-7b03ea9ad542\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-c061-5000-aa1c-c01981470e50","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00000.response.json index c9d005ee09..65238b7cc7 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-d03e-4000-290a-ee8329a25a37","SPClientServiceRequestDuration":"82","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022ebf5d295-1fe7-44d0-be04-1d8cc98a2b28\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-2069-5000-7839-3daf2cfa9807","SPClientServiceRequestDuration":"96","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00001.response.json index ad5881f8b4..ad2684607f 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingApplicationPermissions-301-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"828642a0-9049-4000-290a-e8a7f9e3f698","SPClientServiceRequestDuration":"21","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00223bcb4f79-0e88-4d26-9cae-d9a36b226f5f\u0022,\u0022Id\u0022:\u0022bb8e6ddf-a9ef-4b12-a138-00e8d68d8143\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"98607ba0-c078-5000-7839-3d08b230c78e","SPClientServiceRequestDuration":"44","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0022,\u0022Id\u0022:\u0022c3b00884-044b-481f-a0e6-0b44d6cfe84c\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00000.response.json index 0554c0a37f..806dc6b91d 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"23fd0ca0-90c7-3000-7e87-4a05915a38bf","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC\u002B01:00) Brussels, Copenhagen, Madrid, Paris\u0022,\u0022Id\u0022:3,\u0022Information\u0022:{\u0022Bias\u0022:-60,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:1,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022,\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:1,\u0022FirstWeekOfYear\u0022:2,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022;\u0022,\u0022LocaleId\u0022:2067,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022.\u0022,\u0022Time24\u0022:true,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00228c8e101c-1b0d-4253-85e7-c30039bf46e2\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b45f7ba0-60b4-5000-adee-960cc5f35f88","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00001.response.json index 8742997091..824f5d007e 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"23fd0ca0-40d4-3000-787b-4264ab1f2762","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022b32780e9-df70-4548-a735-4e7f055415a1\u0022,\u0022Id\u0022:\u0022b56adf79-ff6a-4964-a63a-ff1fa23be9f8\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b45f7ba0-30bc-5000-adee-957d7098d6d7","SPClientServiceRequestDuration":"14","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00002.response.json index d829db63ee..8afc830db7 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"23fd0ca0-30dd-3000-787b-427ef9f273f0","SPClientServiceRequestDuration":"6578","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022DocumentsUrl\u0022:null,\u0022ErrorMessage\u0022:null,\u0022GroupId\u0022:\u00222f081f08-0969-464c-8c46-5d3cf21b7f30\u0022,\u0022SiteStatus\u0022:1,\u0022SiteUrl\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b65f7ba0-5082-5000-adee-94101d05aa51","SPClientServiceRequestDuration":"2231","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022DocumentsUrl\u0022:null,\u0022ErrorMessage\u0022:null,\u0022GroupId\u0022:\u0022ba61d646-8b91-4665-b5f4-c03a7ebe3225\u0022,\u0022SiteStatus\u0022:1,\u0022SiteUrl\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00003.response.json index 88cc3dea8b..f98ccb2cce 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00003.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00003.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"28fd0ca0-4047-3000-787b-48cb766d1e72","SPClientServiceRequestDuration":"266","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022DocumentsUrl\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b/Shared Documents\u0022,\u0022ErrorMessage\u0022:null,\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022SiteStatus\u0022:1,\u0022SiteUrl\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"b75f7ba0-d015-5000-adee-9a9a946844ec","SPClientServiceRequestDuration":"199","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022DocumentsUrl\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f/Shared Documents\u0022,\u0022ErrorMessage\u0022:null,\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022SiteStatus\u0022:1,\u0022SiteUrl\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00004.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00004.response.json index e8863bee9f..7ae5943dd6 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00004.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0-00004.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"2dfd0ca0-f041-3000-7c38-ecf425dd3a23","SPClientServiceRequestDuration":"89","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022DocumentsUrl\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b/Shared Documents\u0022,\u0022ErrorMessage\u0022:null,\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022SiteStatus\u0022:2,\u0022SiteUrl\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"bc5f7ba0-700a-5000-adee-98f94bbea797","SPClientServiceRequestDuration":"35","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022DocumentsUrl\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f/Shared Documents\u0022,\u0022ErrorMessage\u0022:null,\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022SiteStatus\u0022:2,\u0022SiteUrl\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0.properties b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0.properties index 36d6ec0b39..07993aaaa1 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0.properties +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-0.properties @@ -1 +1 @@ -{"Alias":"pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b"} \ No newline at end of file +{"Alias":"pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00000.response.json index 437be8867d..1f3cda87d3 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"2dfd0ca0-b04e-3000-787b-4f959374783f","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u002278de7a8b-2ad0-496e-a4d3-ee297a71fed0\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsitef6ec543b38334137914d29406915b01b\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"bc5f7ba0-3015-5000-adee-91507d6d7da8","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite43612845679b4a33867f09f83a36468f\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00001.response.json index e57ef29e73..d15ad9cb05 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"2dfd0ca0-9058-3000-7c38-e488c6bfe2b3","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00222f081f08-0969-464c-8c46-5d3cf21b7f30\u0022,\u0022Id\u0022:\u00221272f4f1-ee4c-46f7-bd7f-69eac1f47f86\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"bc5f7ba0-f01e-5000-adee-91dc207f0536","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022ba61d646-8b91-4665-b5f4-c03a7ebe3225\u0022,\u0022Id\u0022:\u00227f78166d-3531-4a06-97ec-f600ad8803b0\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00002.response.json index c0434e036c..4d85069038 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingDelegatedPermissions-100-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"2dfd0ca0-b05f-3000-b5f5-79a6bb4f4c5d","SPClientServiceRequestDuration":"7","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022This is a test site collection\u0022,\u0022Id\u0022:\u002278de7a8b-2ad0-496e-a4d3-ee297a71fed0\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"bc5f7ba0-a02c-5000-adee-99f53685dabc","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022This is a test site collection\u0022,\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00000.response.json new file mode 100644 index 0000000000..9566f0e0ef --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-303c-5000-adee-9cd574ae12f3","SPClientServiceRequestDuration":"18","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00001.response.json new file mode 100644 index 0000000000..bbc840c383 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-e047-5000-adee-960b8fa4b725","SPClientServiceRequestDuration":"39","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00002.response.json new file mode 100644 index 0000000000..a9e39bf40c --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-1-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-a0a6-5000-adee-99efaa1123b7","SPClientServiceRequestDuration":"713","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022odata.null\u0022:true}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00000.response.json new file mode 100644 index 0000000000..3724d197f7 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-a071-5000-7839-36d867024321","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00001.response.json new file mode 100644 index 0000000000..ec36153b61 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-101-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-607b-5000-7839-35c9fba90919","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00000.response.json new file mode 100644 index 0000000000..fdf51a9868 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-3083-5000-7839-3482721b7f7a","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00001.response.json new file mode 100644 index 0000000000..9a056405d1 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-201-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-008b-5000-7839-30fbe9f59f80","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00000.response.json new file mode 100644 index 0000000000..52e52f78f3 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-1093-5000-adee-93453b633fe5","SPClientServiceRequestDuration":"81","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00001.response.json new file mode 100644 index 0000000000..fc7b3df034 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-301-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"06617ba0-d09e-5000-adee-9198fe162060","SPClientServiceRequestDuration":"23","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00227b34b3c9-43aa-4c82-b13d-007ad7f65743\u0022,\u0022Id\u0022:\u00223dcf6921-02ff-4139-9fe7-35842756f3ce\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00000.response.json new file mode 100644 index 0000000000..f06529e8cd --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"87617ba0-00eb-5000-adee-9df1fdb19fb5","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00001.response.json new file mode 100644 index 0000000000..08a79d62e4 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"87617ba0-c0f6-5000-adee-9c1894b50910","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00002.response.json new file mode 100644 index 0000000000..692c3b5bb5 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-1-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-4054-5000-adee-964916d56b61","SPClientServiceRequestDuration":"761","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022odata.null\u0022:true}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00000.response.json new file mode 100644 index 0000000000..324a79d9b7 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-0020-5000-aa1c-c7175aed20f9","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00001.response.json new file mode 100644 index 0000000000..e81d05bcaa --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-101-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-d027-5000-aa1c-c27b63e8fafb","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00000.response.json new file mode 100644 index 0000000000..941c4b025b --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-b02e-5000-aa1c-c3edeb4f4cb1","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00001.response.json new file mode 100644 index 0000000000..124c5d091d --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-201-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-9034-5000-aa1c-c48b638149f6","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00000.response.json new file mode 100644 index 0000000000..db4902596f --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-d03b-5000-adee-9a38224040c6","SPClientServiceRequestDuration":"102","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00001.response.json new file mode 100644 index 0000000000..17e0f4dd97 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests/CreateTeamSiteUsingNoDescriptionApplicationPermissions-301-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8a617ba0-704b-5000-adee-9eeec414cc32","SPClientServiceRequestDuration":"19","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00220b5270d3-4267-47e4-afd3-21616fff47fe\u0022,\u0022Id\u0022:\u0022f572bce9-dcd2-495c-9efd-a18fd158a975\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00000.response.json index a9731fd72f..56f30ed24d 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-101f-3000-b5f5-76ac2a2cce08","SPClientServiceRequestDuration":"7","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022bc3f47bc-6313-43a4-b21d-ffe6200c0436\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktest\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9a637ba0-3073-5000-adee-98953c082231","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00001.response.json index dd598aa46d..fc51df6a9a 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-f02b-3000-787b-4a52a6ba9644","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022213bf27c-e029-4a49-8ef4-e8d78479b0d1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9a637ba0-a089-5000-adee-95f26cf4738d","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00002.response.json index 0185e803ba..193e48bb06 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-4032-3000-787b-4022e381eccd","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022AssociatedOwnerGroup\u0022:{\u0022Users\u0022:[{\u0022Id\u0022:6,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022i:0#.f|membership|bert.jansen@bertonline.onmicrosoft.com\u0022,\u0022Title\u0022:\u0022Bert Jansen (Cloud)\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022bert.jansen@bertonline.onmicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:true,\u0022UserId\u0022:{\u0022NameId\u0022:\u00221003000084e4ff61\u0022,\u0022NameIdIssuer\u0022:\u0022urn:federation:microsoftonline\u0022},\u0022UserPrincipalName\u0022:\u0022bert.jansen@bertonline.onmicrosoft.com\u0022}],\u0022Id\u0022:3},\u0022Id\u0022:\u0022bc3f47bc-6313-43a4-b21d-ffe6200c0436\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9a637ba0-7090-5000-adee-9d0e700224a0","SPClientServiceRequestDuration":"19","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022AssociatedOwnerGroup\u0022:{\u0022Users\u0022:[{\u0022Id\u0022:12,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022i:0#.f|membership|adelev@m365x18344513.onmicrosoft.com\u0022,\u0022Title\u0022:\u0022Adele Vance\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022AdeleV@M365x18344513.OnMicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u002210032002331187bc\u0022,\u0022NameIdIssuer\u0022:\u0022urn:federation:microsoftonline\u0022},\u0022UserPrincipalName\u0022:\u0022adelev@m365x18344513.onmicrosoft.com\u0022},{\u0022Id\u0022:6,\u0022IsHiddenInUI\u0022:true,\u0022LoginName\u0022:\u0022c:0o.c|federateddirectoryclaimprovider|9febcaf2-c138-4da7-a713-32dba81c5e33_o\u0022,\u0022Title\u0022:\u0022PnP Microsoft 365 library test with group Owners\u0022,\u0022PrincipalType\u0022:4,\u0022Email\u0022:\u0022pnpcoresdktestgroup@M365x18344513.onmicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:true,\u0022UserId\u0022:null,\u0022UserPrincipalName\u0022:null},{\u0022Id\u0022:1073741823,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022SHAREPOINT\\\\system\u0022,\u0022Title\u0022:\u0022System Account\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u0022S-1-0-0\u0022,\u0022NameIdIssuer\u0022:\u0022urn:office:idp:activedirectory\u0022},\u0022UserPrincipalName\u0022:null}],\u0022Id\u0022:3},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00003.response.json index e8c3a39134..a1bfdc77bb 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00003.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0-00003.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-703a-3000-b5f5-76f8e1c04260","SPClientServiceRequestDuration":"2459","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022SiteId\u0022:\u0022edba227a-a9d2-4ed1-9edc-64ecb94abdd1\u0022,\u0022SiteStatus\u0022:2,\u0022SiteUrl\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9e637ba0-40d4-5000-adee-9d77f8694ab9","SPClientServiceRequestDuration":"1791","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022SiteId\u0022:\u00226a053239-2c5b-4a69-a752-b3c3f479ac1d\u0022,\u0022SiteStatus\u0022:2,\u0022SiteUrl\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0.properties b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0.properties index 20f1a6cfc2..583d2ce2c2 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0.properties +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-0.properties @@ -1 +1 @@ -{"SiteUrl":"https://bertonline.sharepoint.com/sites/pnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1","SiteOwner":"i:0#.f|membership|bert.jansen@bertonline.onmicrosoft.com"} \ No newline at end of file +{"SiteUrl":"https://m365x18344513.sharepoint.com/sites/pnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a","SiteOwner":"i:0#.f|membership|adelev@m365x18344513.onmicrosoft.com"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00000.response.json index 717b378eb4..3c76efb57d 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-e0aa-3000-787b-46fbcec4bbf0","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC\u002B01:00) Brussels, Copenhagen, Madrid, Paris\u0022,\u0022Id\u0022:3,\u0022Information\u0022:{\u0022Bias\u0022:-60,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:1,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022,\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:1,\u0022FirstWeekOfYear\u0022:2,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022;\u0022,\u0022LocaleId\u0022:2067,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022.\u0022,\u0022Time24\u0022:true,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00228c8e101c-1b0d-4253-85e7-c30039bf46e2\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-f071-5000-adee-96ef334d45f0","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00001.response.json index c09c3630b4..459f9332eb 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-1-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-10b2-3000-b5f5-7ebf040a041c","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022b32780e9-df70-4548-a735-4e7f055415a1\u0022,\u0022Id\u0022:\u0022b56adf79-ff6a-4964-a63a-ff1fa23be9f8\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-c079-5000-adee-98799ef81221","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00000.response.json index 12c21336e8..dedb35017f 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-b0db-3000-787b-41fc11e53fa7","SPClientServiceRequestDuration":"43","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022cb1cd20f-159e-4969-8da9-6ebad6423acf\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9f637ba0-504f-5000-adee-92f0c6fcbca7","SPClientServiceRequestDuration":"52","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u002243f0970d-9654-4db5-bd82-2a16a5857f94\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00001.response.json index f3f20d33a4..386cbd6728 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-f0e4-3000-787b-4dc480433c70","SPClientServiceRequestDuration":"23","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022edba227a-a9d2-4ed1-9edc-64ecb94abdd1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9f637ba0-105b-5000-adee-9a013200da15","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u00226a053239-2c5b-4a69-a752-b3c3f479ac1d\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00002.response.json index 36d692b15e..5110361bab 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-100-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"0dfd0ca0-20ed-3000-b5f5-705d97b17794","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022This is a test site collection\u0022,\u0022Id\u0022:\u0022cb1cd20f-159e-4969-8da9-6ebad6423acf\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"9f637ba0-90c2-5000-adee-9809a9d9fa40","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022This is a test site collection\u0022,\u0022Id\u0022:\u002243f0970d-9654-4db5-bd82-2a16a5857f94\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00000.response.json index fc8b999b20..adb9fcb393 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-40cc-3000-7c38-e0253b93a7ca","SPClientServiceRequestDuration":"7","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022a5f687e3-6783-4295-8e6f-f95fb09c1d83\u0022,\u0022Url\u0022:\u0022https://bertonline-admin.sharepoint.com\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-809f-5000-7839-39bdadfa549e","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00001.response.json index ea949b7be9..e895b1268b 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-50d2-3000-787b-4e9df4032290","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022159c6b93-32dc-45d5-a376-7b03ea9ad542\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-50a6-5000-7839-353eedd291d4","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00002.response.json index d899f0b480..35c1cbb3de 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-101-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"12fd0ca0-1016-3000-b5f5-76c3cd9689fa","SPClientServiceRequestDuration":"555","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"[\r{\r\u0022SchemaVersion\u0022:\u002215.0.0.0\u0022,\u0022LibraryVersion\u0022:\u002216.0.22001.12005\u0022,\u0022ErrorInfo\u0022:null,\u0022TraceCorrelationId\u0022:\u002212fd0ca0-1016-3000-b5f5-76c3cd9689fa\u0022\r},3,{\r\u0022_ObjectType_\u0022:\u0022Microsoft.Online.SharePoint.TenantAdministration.SpoOperation\u0022,\u0022_ObjectIdentity_\u0022:\u002212fd0ca0-1016-3000-b5f5-76c3cd9689fa|908bed80-a04a-4433-b4a0-883d9847d110:6492ece7-7f5d-4499-8130-50e761e25bd9\\nSpoOperation\\nRemoveDeletedSite\\n637751610008674700\\nhttps%3a%2f%2fbertonline.sharepoint.com%2fsites%2fpnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1\\nedba227a-a9d2-4ed1-9edc-64ecb94abdd1\u0022,\u0022PollingInterval\u0022:15000,\u0022IsComplete\u0022:true\r}\r]"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a4637ba0-0008-5000-7839-3ba527983eab","SPClientServiceRequestDuration":"934","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"[\r{\r\u0022SchemaVersion\u0022:\u002215.0.0.0\u0022,\u0022LibraryVersion\u0022:\u002216.0.23102.12004\u0022,\u0022ErrorInfo\u0022:null,\u0022TraceCorrelationId\u0022:\u0022a4637ba0-0008-5000-7839-3ba527983eab\u0022\r},3,{\r\u0022_ObjectType_\u0022:\u0022Microsoft.Online.SharePoint.TenantAdministration.SpoOperation\u0022,\u0022_ObjectIdentity_\u0022:\u0022a4637ba0-0008-5000-7839-3ba527983eab|908bed80-a04a-4433-b4a0-883d9847d110:bad58200-a9f7-4d49-8ac5-660b7bd3e8b5\\nSpoOperation\\nRemoveDeletedSite\\n638047964539299624\\nhttps%3a%2f%2fm365x18344513.sharepoint.com%2fsites%2fpnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a\\n6a053239-2c5b-4a69-a752-b3c3f479ac1d\u0022,\u0022PollingInterval\u0022:15000,\u0022IsComplete\u0022:true\r}\r]"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00000.response.json index 7e59f3994e..424d2d9977 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-20d9-3000-7c38-ef893d469d04","SPClientServiceRequestDuration":"7","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022a5f687e3-6783-4295-8e6f-f95fb09c1d83\u0022,\u0022Url\u0022:\u0022https://bertonline-admin.sharepoint.com\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-30ad-5000-7839-3088d8c81758","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022f4b62c69-2c98-494d-98b7-7280d482daab\u0022,\u0022Url\u0022:\u0022https://m365x18344513-admin.sharepoint.com\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00001.response.json index 76593a0b66..ff78e44682 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-10e0-3000-b5f5-781669233d25","SPClientServiceRequestDuration":"7","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022159c6b93-32dc-45d5-a376-7b03ea9ad542\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-10b3-5000-7839-36224cc301fc","SPClientServiceRequestDuration":"14","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022c2894742-aa2f-44fb-815c-bdc9d0fd3ab8\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00002.response.json index 8edb8437db..5b34e0834b 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-201-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-60f6-3000-b5f5-72327ff592cc","SPClientServiceRequestDuration":"425","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"[\r{\r\u0022SchemaVersion\u0022:\u002215.0.0.0\u0022,\u0022LibraryVersion\u0022:\u002216.0.22001.12005\u0022,\u0022ErrorInfo\u0022:null,\u0022TraceCorrelationId\u0022:\u002211fd0ca0-60f6-3000-b5f5-72327ff592cc\u0022\r},3,{\r\u0022_ObjectType_\u0022:\u0022Microsoft.Online.SharePoint.TenantAdministration.SpoOperation\u0022,\u0022_ObjectIdentity_\u0022:\u002211fd0ca0-60f6-3000-b5f5-72327ff592cc|908bed80-a04a-4433-b4a0-883d9847d110:6492ece7-7f5d-4499-8130-50e761e25bd9\\nSpoOperation\\nRemoveSite\\n637751610002047719\\nhttps%3a%2f%2fbertonline.sharepoint.com%2fsites%2fpnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1\\nedba227a-a9d2-4ed1-9edc-64ecb94abdd1\u0022,\u0022PollingInterval\u0022:15000,\u0022IsComplete\u0022:true\r}\r]"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-60cd-5000-7839-3a4b87775a98","SPClientServiceRequestDuration":"774","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"[\r{\r\u0022SchemaVersion\u0022:\u002215.0.0.0\u0022,\u0022LibraryVersion\u0022:\u002216.0.23102.12004\u0022,\u0022ErrorInfo\u0022:null,\u0022TraceCorrelationId\u0022:\u0022a3637ba0-60cd-5000-7839-3a4b87775a98\u0022\r},3,{\r\u0022_ObjectType_\u0022:\u0022Microsoft.Online.SharePoint.TenantAdministration.SpoOperation\u0022,\u0022_ObjectIdentity_\u0022:\u0022a3637ba0-60cd-5000-7839-3a4b87775a98|908bed80-a04a-4433-b4a0-883d9847d110:bad58200-a9f7-4d49-8ac5-660b7bd3e8b5\\nSpoOperation\\nRemoveSite\\n638047964525549061\\nhttps%3a%2f%2fm365x18344513.sharepoint.com%2fsites%2fpnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a\\n6a053239-2c5b-4a69-a752-b3c3f479ac1d\u0022,\u0022PollingInterval\u0022:15000,\u0022IsComplete\u0022:true\r}\r]"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00000.response.json index 4909cd5a25..24042db25c 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-f0e6-3000-787b-4ee375b42b9a","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022cb1cd20f-159e-4969-8da9-6ebad6423acf\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestcommsite8104f1999e444971b41527ca9dfb1ba1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-20bd-5000-adee-9bb9e3270210","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u002243f0970d-9654-4db5-bd82-2a16a5857f94\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestcommsitef02d7b12dcff47a2bab5948cc68b504a\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00001.response.json index 09ba61a959..6ef966b3af 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateCommunicationSiteUsingApplicationPermissions-301-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"11fd0ca0-40ef-3000-787b-4855a8608e99","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022edba227a-a9d2-4ed1-9edc-64ecb94abdd1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"a3637ba0-00c3-5000-adee-9eeb356844b1","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u00226a053239-2c5b-4a69-a752-b3c3f479ac1d\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00000.response.json index 7bc737c912..9a0b5c010c 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"788642a0-c0f4-4000-290a-ec2068d17cd6","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022bc3f47bc-6313-43a4-b21d-ffe6200c0436\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktest\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8c607ba0-b045-5000-7839-39f0d3d0f337","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00001.response.json index 942e79397e..a3610d339b 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00001.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00001.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"798642a0-7001-4000-290a-ee5367f0f2bc","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022Id\u0022:\u0022213bf27c-e029-4a49-8ef4-e8d78479b0d1\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8c607ba0-4057-5000-7839-358bfcd56712","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00002.response.json index 4c4794df6c..db6f5a6e66 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00002.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00002.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"798642a0-d0c2-4000-290a-ee5d7b03b0da","SPClientServiceRequestDuration":"14","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022AssociatedOwnerGroup\u0022:{\u0022Users\u0022:[{\u0022Id\u0022:6,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022i:0#.f|membership|bert.jansen@bertonline.onmicrosoft.com\u0022,\u0022Title\u0022:\u0022Bert Jansen (Cloud)\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022bert.jansen@bertonline.onmicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:true,\u0022UserId\u0022:{\u0022NameId\u0022:\u00221003000084e4ff61\u0022,\u0022NameIdIssuer\u0022:\u0022urn:federation:microsoftonline\u0022},\u0022UserPrincipalName\u0022:\u0022bert.jansen@bertonline.onmicrosoft.com\u0022}],\u0022Id\u0022:3},\u0022Id\u0022:\u0022bc3f47bc-6313-43a4-b21d-ffe6200c0436\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"8c607ba0-105f-5000-7839-3e634695e662","SPClientServiceRequestDuration":"18","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022AssociatedOwnerGroup\u0022:{\u0022Users\u0022:[{\u0022Id\u0022:12,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022i:0#.f|membership|adelev@m365x18344513.onmicrosoft.com\u0022,\u0022Title\u0022:\u0022Adele Vance\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022AdeleV@M365x18344513.OnMicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u002210032002331187bc\u0022,\u0022NameIdIssuer\u0022:\u0022urn:federation:microsoftonline\u0022},\u0022UserPrincipalName\u0022:\u0022adelev@m365x18344513.onmicrosoft.com\u0022},{\u0022Id\u0022:6,\u0022IsHiddenInUI\u0022:true,\u0022LoginName\u0022:\u0022c:0o.c|federateddirectoryclaimprovider|9febcaf2-c138-4da7-a713-32dba81c5e33_o\u0022,\u0022Title\u0022:\u0022PnP Microsoft 365 library test with group Owners\u0022,\u0022PrincipalType\u0022:4,\u0022Email\u0022:\u0022pnpcoresdktestgroup@M365x18344513.onmicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:true,\u0022UserId\u0022:null,\u0022UserPrincipalName\u0022:null},{\u0022Id\u0022:1073741823,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022SHAREPOINT\\\\system\u0022,\u0022Title\u0022:\u0022System Account\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u0022S-1-0-0\u0022,\u0022NameIdIssuer\u0022:\u0022urn:office:idp:activedirectory\u0022},\u0022UserPrincipalName\u0022:null}],\u0022Id\u0022:3},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00003.response.json index 8ecaaf7a36..d2ef8edd62 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00003.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00003.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"baea111e-a0dd-4d46-9805-46ec45587c22","client-request-id":"baea111e-a0dd-4d46-9805-46ec45587c22","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022000\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DAD\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Mon, 30 May 2022 18:29:20 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups\u0022,\u0022value\u0022:[]}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"5d013b4d-5398-4531-8cb6-3c31a8912b98","client-request-id":"5d013b4d-5398-4531-8cb6-3c31a8912b98","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000294E9\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:40:13 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups\u0022,\u0022value\u0022:[]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00004.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00004.response.json index 154ac54616..1b16d43bd7 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00004.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00004.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"33670c03-937f-4da9-85b5-b331e79898e1","client-request-id":"33670c03-937f-4da9-85b5-b331e79898e1","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022000\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DAD\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Mon, 30 May 2022 18:29:21 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#users(id)/$entity\u0022,\u0022id\u0022:\u002233aca310-a489-4121-b853-663d0327fe08\u0022}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"0985c153-31c9-40c1-b0ad-dab0292ced34","client-request-id":"0985c153-31c9-40c1-b0ad-dab0292ced34","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000294E9\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:40:13 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#users(id)/$entity\u0022,\u0022id\u0022:\u00224ef771ff-cfe0-40b0-b962-50e0d104c089\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00005.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00005.response.json index d2327fa725..ccb426e67d 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00005.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0-00005.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Location":"https://graph.microsoft.com/v2/d8623c9e-30c7-473a-83bc-d907df44a26e/directoryObjects/3bcb4f79-0e88-4d26-9cae-d9a36b226f5f/Microsoft.DirectoryServices.Group","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"cf6bee09-13fe-4350-bb7e-f06a4d577762","client-request-id":"cf6bee09-13fe-4350-bb7e-f06a4d577762","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022000\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DAD\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Mon, 30 May 2022 18:29:21 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00223bcb4f79-0e88-4d26-9cae-d9a36b226f5f\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-05-30T18:29:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c@bertonline.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c@bertonline.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-05-30T18:29:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-1003179897-1294339720-2748952220-1601118827\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Location":"https://graph.microsoft.com/v2/bad58200-a9f7-4d49-8ac5-660b7bd3e8b5/directoryObjects/aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88/Microsoft.DirectoryServices.Group","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"de735632-bb77-452f-b660-5a54cfe79c75","client-request-id":"de735632-bb77-452f-b660-5a54cfe79c75","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000294E9\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:40:13 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u0022aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2863270577-1324550079-2742931641-2282360045\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0.properties b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0.properties index 25405ef2e5..85feb2c70b 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0.properties +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-0.properties @@ -1 +1 @@ -{"Alias":"pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c"} \ No newline at end of file +{"Alias":"pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-100-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-100-00000.response.json index fccbcaf9f1..afcd5a7d04 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-100-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-100-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"ef7a08c7-c215-4171-b5de-08a7eb8c76f2","client-request-id":"ef7a08c7-c215-4171-b5de-08a7eb8c76f2","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022000\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DAD\u0022}}","Date":"Mon, 30 May 2022 18:29:23 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Unable to provision resource.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-05-30T18:29:23\u0022,\u0022request-id\u0022:\u0022ef7a08c7-c215-4171-b5de-08a7eb8c76f2\u0022,\u0022client-request-id\u0022:\u0022ef7a08c7-c215-4171-b5de-08a7eb8c76f2\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00223bcb4f79-0e88-4d26-9cae-d9a36b226f5f\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-05-30T18:29:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c@bertonline.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c@bertonline.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-05-30T18:29:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-1003179897-1294339720-2748952220-1601118827\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"2e41149e-62bd-4d16-9edb-93e4c57ac164","client-request-id":"2e41149e-62bd-4d16-9edb-93e4c57ac164","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000294E9\u0022}}","Date":"Wed, 23 Nov 2022 09:40:14 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Unable to provision resource.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:40:15\u0022,\u0022request-id\u0022:\u00222e41149e-62bd-4d16-9edb-93e4c57ac164\u0022,\u0022client-request-id\u0022:\u00222e41149e-62bd-4d16-9edb-93e4c57ac164\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u0022aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2863270577-1324550079-2742931641-2282360045\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-200-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-200-00000.response.json index ab3f5c07f0..8020a91d25 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-200-00000.response.json +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-200-00000.response.json @@ -1 +1 @@ -{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"da5e6cfb-e9d9-433d-b335-957b41bb3127","client-request-id":"da5e6cfb-e9d9-433d-b335-957b41bb3127","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022000\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DAD\u0022}}","Date":"Mon, 30 May 2022 18:29:25 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00223bcb4f79-0e88-4d26-9cae-d9a36b226f5f\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-05-30T18:29:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c@bertonline.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c@bertonline.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-05-30T18:29:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-1003179897-1294339720-2748952220-1601118827\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}},{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-store, no-cache\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups(\u00273bcb4f79-0e88-4d26-9cae-d9a36b226f5f\u0027)/sites(\u0027root\u0027)/webUrl\u0022,\u0022value\u0022:\u0022https://bertonline.sharepoint.com/sites/pnpcoresdktestteamsiteaaa863334a284a9da4694f4d1907c76c\u0022}}]}"} \ No newline at end of file +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"88e594bc-1aad-4c71-8cc1-dd9e4e9af414","client-request-id":"88e594bc-1aad-4c71-8cc1-dd9e4e9af414","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000294E9\u0022}}","Date":"Wed, 23 Nov 2022 09:40:15 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Unable to provision resource.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:40:16\u0022,\u0022request-id\u0022:\u002288e594bc-1aad-4c71-8cc1-dd9e4e9af414\u0022,\u0022client-request-id\u0022:\u002288e594bc-1aad-4c71-8cc1-dd9e4e9af414\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u0022aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2863270577-1324550079-2742931641-2282360045\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00000.response.json new file mode 100644 index 0000000000..d5df98ddff --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"d738a2c7-2011-4673-9344-0acbcb918e99","client-request-id":"d738a2c7-2011-4673-9344-0acbcb918e99","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000294E9\u0022}}","Date":"Wed, 23 Nov 2022 09:40:26 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u0022aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022This is a test site collection\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:40:13Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2863270577-1324550079-2742931641-2282360045\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}},{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-store, no-cache\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups(\u0027aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0027)/sites(\u0027root\u0027)/webUrl\u0022,\u0022value\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00001.response.json new file mode 100644 index 0000000000..d381dffdc6 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"90607ba0-b081-5000-7839-3673f6375f5c","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsitee447b2a0643b49d6b5b98585fddf0e8f\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00002.response.json new file mode 100644 index 0000000000..ad7b9c7c95 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"90607ba0-8089-5000-7839-345e4aa3f4b1","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022aaaa0ab1-07bf-4ef3-b9d0-7da3ed0c0a88\u0022,\u0022Id\u0022:\u0022c3b00884-044b-481f-a0e6-0b44d6cfe84c\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00003.response.json new file mode 100644 index 0000000000..c9e6a42b7a --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingApplicationPermissions-300-00003.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"91607ba0-303d-5000-7839-35ea290eec51","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022This is a test site collection\u0022,\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00000.response.json new file mode 100644 index 0000000000..7e102db7f7 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"ed607ba0-e0e5-5000-7839-3eed4bea43b4","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00001.response.json new file mode 100644 index 0000000000..cf04fe68fc --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"ed607ba0-40ff-5000-7839-3fc812290e30","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00002.response.json new file mode 100644 index 0000000000..59332ad08b --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"ee607ba0-1006-5000-7839-379118287b4f","SPClientServiceRequestDuration":"16","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022AssociatedOwnerGroup\u0022:{\u0022Users\u0022:[{\u0022Id\u0022:12,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022i:0#.f|membership|adelev@m365x18344513.onmicrosoft.com\u0022,\u0022Title\u0022:\u0022Adele Vance\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022AdeleV@M365x18344513.OnMicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u002210032002331187bc\u0022,\u0022NameIdIssuer\u0022:\u0022urn:federation:microsoftonline\u0022},\u0022UserPrincipalName\u0022:\u0022adelev@m365x18344513.onmicrosoft.com\u0022},{\u0022Id\u0022:6,\u0022IsHiddenInUI\u0022:true,\u0022LoginName\u0022:\u0022c:0o.c|federateddirectoryclaimprovider|9febcaf2-c138-4da7-a713-32dba81c5e33_o\u0022,\u0022Title\u0022:\u0022PnP Microsoft 365 library test with group Owners\u0022,\u0022PrincipalType\u0022:4,\u0022Email\u0022:\u0022pnpcoresdktestgroup@M365x18344513.onmicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:true,\u0022UserId\u0022:null,\u0022UserPrincipalName\u0022:null},{\u0022Id\u0022:1073741823,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022SHAREPOINT\\\\system\u0022,\u0022Title\u0022:\u0022System Account\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u0022S-1-0-0\u0022,\u0022NameIdIssuer\u0022:\u0022urn:office:idp:activedirectory\u0022},\u0022UserPrincipalName\u0022:null}],\u0022Id\u0022:3},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00003.response.json new file mode 100644 index 0000000000..0804a86dec --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00003.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"8cdf0b32-d0d1-49d0-bff7-78c4e989d9d0","client-request-id":"8cdf0b32-d0d1-49d0-bff7-78c4e989d9d0","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9BE\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:47:30 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups\u0022,\u0022value\u0022:[]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00004.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00004.response.json new file mode 100644 index 0000000000..b36f3a06e2 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00004.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"85f6c8e1-8ff5-4e56-b80c-5a9f79c07502","client-request-id":"85f6c8e1-8ff5-4e56-b80c-5a9f79c07502","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9BE\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:47:33 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#users(id)/$entity\u0022,\u0022id\u0022:\u00224ef771ff-cfe0-40b0-b962-50e0d104c089\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00005.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00005.response.json new file mode 100644 index 0000000000..8fdcef1d19 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0-00005.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Location":"https://graph.microsoft.com/v2/bad58200-a9f7-4d49-8ac5-660b7bd3e8b5/directoryObjects/7b34b3c9-43aa-4c82-b13d-007ad7f65743/Microsoft.DirectoryServices.Group","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"7541f57f-09ba-4c46-86ce-59f536b64c29","client-request-id":"7541f57f-09ba-4c46-86ce-59f536b64c29","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9BE\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:47:54 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00227b34b3c9-43aa-4c82-b13d-007ad7f65743\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:null,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2067051465-1283605418-2046836145-1129838295\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0.properties b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0.properties new file mode 100644 index 0000000000..84dc8ae722 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-0.properties @@ -0,0 +1 @@ +{"Alias":"pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-100-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-100-00000.response.json new file mode 100644 index 0000000000..7a9aea0d34 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-100-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"df3343b2-8c6d-42f7-9f5a-6032671ad4df","client-request-id":"df3343b2-8c6d-42f7-9f5a-6032671ad4df","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9BE\u0022}}","Date":"Wed, 23 Nov 2022 09:47:55 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Unable to provision resource.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:47:56\u0022,\u0022request-id\u0022:\u0022df3343b2-8c6d-42f7-9f5a-6032671ad4df\u0022,\u0022client-request-id\u0022:\u0022df3343b2-8c6d-42f7-9f5a-6032671ad4df\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00227b34b3c9-43aa-4c82-b13d-007ad7f65743\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:null,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2067051465-1283605418-2046836145-1129838295\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-200-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-200-00000.response.json new file mode 100644 index 0000000000..740172e1f9 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-200-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"230bde7c-8f86-4216-88d6-1d84bd21afec","client-request-id":"230bde7c-8f86-4216-88d6-1d84bd21afec","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9BE\u0022}}","Date":"Wed, 23 Nov 2022 09:47:56 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Unable to provision resource.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:47:57\u0022,\u0022request-id\u0022:\u0022230bde7c-8f86-4216-88d6-1d84bd21afec\u0022,\u0022client-request-id\u0022:\u0022230bde7c-8f86-4216-88d6-1d84bd21afec\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00227b34b3c9-43aa-4c82-b13d-007ad7f65743\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:null,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2067051465-1283605418-2046836145-1129838295\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00000.response.json new file mode 100644 index 0000000000..a748fda145 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"f845c086-ba21-4666-9d18-436db2ebb3f6","client-request-id":"f845c086-ba21-4666-9d18-436db2ebb3f6","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9BE\u0022}}","Date":"Wed, 23 Nov 2022 09:48:07 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00227b34b3c9-43aa-4c82-b13d-007ad7f65743\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022PnP Core SDK Test\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:47:55Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-2067051465-1283605418-2046836145-1129838295\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}},{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-store, no-cache\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups(\u00277b34b3c9-43aa-4c82-b13d-007ad7f65743\u0027)/sites(\u0027root\u0027)/webUrl\u0022,\u0022value\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00001.response.json new file mode 100644 index 0000000000..e10db440c3 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"01617ba0-202c-5000-adee-9288b788beb8","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite9b5484e870c74becad5d70a9721ee821\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00002.response.json new file mode 100644 index 0000000000..571b2acd5e --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"01617ba0-f035-5000-adee-9f90b6e252d6","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00227b34b3c9-43aa-4c82-b13d-007ad7f65743\u0022,\u0022Id\u0022:\u00223dcf6921-02ff-4139-9fe7-35842756f3ce\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00003.response.json new file mode 100644 index 0000000000..d28fe03e87 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingEmptyDescriptionApplicationPermissions-300-00003.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"01617ba0-b03f-5000-adee-966c961ef345","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022\u0022,\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00000.response.json new file mode 100644 index 0000000000..1c99e000f4 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"76617ba0-703f-5000-adee-9cbe6ce83682","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00001.response.json new file mode 100644 index 0000000000..7b190fb047 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"76617ba0-d059-5000-adee-956215d486cc","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00229febcaf2-c138-4da7-a713-32dba81c5e33\u0022,\u0022Id\u0022:\u00220225af59-51ef-4d2f-897d-307b19af26c6\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00002.response.json new file mode 100644 index 0000000000..d82aa39b68 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"76617ba0-b060-5000-adee-9c6e72555514","SPClientServiceRequestDuration":"15","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022AssociatedOwnerGroup\u0022:{\u0022Users\u0022:[{\u0022Id\u0022:12,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022i:0#.f|membership|adelev@m365x18344513.onmicrosoft.com\u0022,\u0022Title\u0022:\u0022Adele Vance\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022AdeleV@M365x18344513.OnMicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u002210032002331187bc\u0022,\u0022NameIdIssuer\u0022:\u0022urn:federation:microsoftonline\u0022},\u0022UserPrincipalName\u0022:\u0022adelev@m365x18344513.onmicrosoft.com\u0022},{\u0022Id\u0022:6,\u0022IsHiddenInUI\u0022:true,\u0022LoginName\u0022:\u0022c:0o.c|federateddirectoryclaimprovider|9febcaf2-c138-4da7-a713-32dba81c5e33_o\u0022,\u0022Title\u0022:\u0022PnP Microsoft 365 library test with group Owners\u0022,\u0022PrincipalType\u0022:4,\u0022Email\u0022:\u0022pnpcoresdktestgroup@M365x18344513.onmicrosoft.com\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:true,\u0022UserId\u0022:null,\u0022UserPrincipalName\u0022:null},{\u0022Id\u0022:1073741823,\u0022IsHiddenInUI\u0022:false,\u0022LoginName\u0022:\u0022SHAREPOINT\\\\system\u0022,\u0022Title\u0022:\u0022System Account\u0022,\u0022PrincipalType\u0022:1,\u0022Email\u0022:\u0022\u0022,\u0022Expiration\u0022:\u0022\u0022,\u0022IsEmailAuthenticationGuestUser\u0022:false,\u0022IsShareByEmailGuestUser\u0022:false,\u0022IsSiteAdmin\u0022:false,\u0022UserId\u0022:{\u0022NameId\u0022:\u0022S-1-0-0\u0022,\u0022NameIdIssuer\u0022:\u0022urn:office:idp:activedirectory\u0022},\u0022UserPrincipalName\u0022:null}],\u0022Id\u0022:3},\u0022Id\u0022:\u00229b1b87bd-7310-473e-b2ef-2f0d38c6f23c\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00003.response.json new file mode 100644 index 0000000000..7dbbf74dbe --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00003.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"82cbd58d-e6f8-4a99-b96a-a4e024b6c905","client-request-id":"82cbd58d-e6f8-4a99-b96a-a4e024b6c905","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000292DE\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:56:20 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups\u0022,\u0022value\u0022:[]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00004.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00004.response.json new file mode 100644 index 0000000000..a013d4769f --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00004.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"26503d63-4059-4195-89fb-a670dd0922ec","client-request-id":"26503d63-4059-4195-89fb-a670dd0922ec","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000292DE\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:56:21 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#users(id)/$entity\u0022,\u0022id\u0022:\u00224ef771ff-cfe0-40b0-b962-50e0d104c089\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00005.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00005.response.json new file mode 100644 index 0000000000..642b6cb510 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0-00005.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Cache-Control":"no-cache","Transfer-Encoding":"chunked","Location":"https://graph.microsoft.com/v2/bad58200-a9f7-4d49-8ac5-660b7bd3e8b5/directoryObjects/0b5270d3-4267-47e4-afd3-21616fff47fe/Microsoft.DirectoryServices.Group","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"238e6ac9-dc3c-40b9-8290-69dd9c0a4214","client-request-id":"238e6ac9-dc3c-40b9-8290-69dd9c0a4214","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000292DE\u0022}}","x-ms-resource-unit":"1","OData-Version":"4.0","Date":"Wed, 23 Nov 2022 09:56:21 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00220b5270d3-4267-47e4-afd3-21616fff47fe\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:null,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-189952211-1206141543-1629606831-4266131311\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0.properties b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0.properties new file mode 100644 index 0000000000..28a9a84aa0 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-0.properties @@ -0,0 +1 @@ +{"Alias":"pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-100-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-100-00000.response.json new file mode 100644 index 0000000000..7360df70cc --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-100-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"e175fede-b621-4903-b223-d5bd97ae1578","client-request-id":"e175fede-b621-4903-b223-d5bd97ae1578","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000292DE\u0022}}","Date":"Wed, 23 Nov 2022 09:56:22 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Unable to provision resource.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:56:22\u0022,\u0022request-id\u0022:\u0022e175fede-b621-4903-b223-d5bd97ae1578\u0022,\u0022client-request-id\u0022:\u0022e175fede-b621-4903-b223-d5bd97ae1578\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00220b5270d3-4267-47e4-afd3-21616fff47fe\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:null,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-189952211-1206141543-1629606831-4266131311\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00000.response.json new file mode 100644 index 0000000000..76898e3ecd --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"790a9781-a492-4298-916f-bc8e1ebf154d","client-request-id":"790a9781-a492-4298-916f-bc8e1ebf154d","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000292DE\u0022}}","Date":"Wed, 23 Nov 2022 09:56:22 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:404,\u0022headers\u0022:{\u0022Content-Type\u0022:\u0022application/json\u0022},\u0022body\u0022:{\u0022error\u0022:{\u0022code\u0022:\u0022ResourceNotFound\u0022,\u0022message\u0022:\u0022Resource provisioning is in progress. Please try again.\u0022,\u0022innerError\u0022:{\u0022date\u0022:\u00222022-11-23T09:56:22\u0022,\u0022request-id\u0022:\u0022790a9781-a492-4298-916f-bc8e1ebf154d\u0022,\u0022client-request-id\u0022:\u0022790a9781-a492-4298-916f-bc8e1ebf154d\u0022}}}},{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00220b5270d3-4267-47e4-afd3-21616fff47fe\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:null,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-189952211-1206141543-1629606831-4266131311\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00001.response.json new file mode 100644 index 0000000000..cc7245fbda --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"66617ba0-70e3-5000-7839-338a8bd49234","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsiteb3d2d560387047a59626b5fd1744cceb\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00002.response.json new file mode 100644 index 0000000000..9643f51df5 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"66617ba0-20ef-5000-7839-391154a1b143","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u002216584e03-36f8-4814-96cb-2a4035d4ff18\u0022,\u0022Id\u0022:\u00225ca9a7d5-94b7-42cf-82cc-3fb1ae6a0471\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00003.response.json new file mode 100644 index 0000000000..c52443231e --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-200-00003.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"68617ba0-90d1-5000-7839-3e639380df00","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022\u0022,\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00000.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00000.response.json new file mode 100644 index 0000000000..ca3794bd6b --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00000.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"64065728-afa6-4321-be46-1d5f7cc305c1","client-request-id":"64065728-afa6-4321-be46-1d5f7cc305c1","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022004\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF000292DE\u0022}}","Date":"Wed, 23 Nov 2022 09:56:33 GMT"},"Response":"{\u0022responses\u0022: [{\u0022id\u0022:\u00221\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-cache\u0022,\u0022x-ms-resource-unit\u0022:\u00221\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups/$entity\u0022,\u0022id\u0022:\u00220b5270d3-4267-47e4-afd3-21616fff47fe\u0022,\u0022deletedDateTime\u0022:null,\u0022classification\u0022:null,\u0022createdDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022creationOptions\u0022:[],\u0022description\u0022:\u0022PnP Core SDK Test\u0022,\u0022displayName\u0022:\u0022PnP Core SDK Test\u0022,\u0022expirationDateTime\u0022:null,\u0022groupTypes\u0022:[\u0022Unified\u0022],\u0022isAssignableToRole\u0022:null,\u0022mail\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022,\u0022mailEnabled\u0022:true,\u0022mailNickname\u0022:\u0022pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022,\u0022membershipRule\u0022:null,\u0022membershipRuleProcessingState\u0022:null,\u0022onPremisesDomainName\u0022:null,\u0022onPremisesLastSyncDateTime\u0022:null,\u0022onPremisesNetBiosName\u0022:null,\u0022onPremisesSamAccountName\u0022:null,\u0022onPremisesSecurityIdentifier\u0022:null,\u0022onPremisesSyncEnabled\u0022:null,\u0022preferredDataLocation\u0022:null,\u0022preferredLanguage\u0022:null,\u0022proxyAddresses\u0022:[\u0022SMTP:pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52@M365x18344513.onmicrosoft.com\u0022],\u0022renewedDateTime\u0022:\u00222022-11-23T09:56:21Z\u0022,\u0022resourceBehaviorOptions\u0022:[],\u0022resourceProvisioningOptions\u0022:[],\u0022securityEnabled\u0022:false,\u0022securityIdentifier\u0022:\u0022S-1-12-1-189952211-1206141543-1629606831-4266131311\u0022,\u0022theme\u0022:null,\u0022visibility\u0022:\u0022Public\u0022,\u0022onPremisesProvisioningErrors\u0022:[]}},{\u0022id\u0022:\u00222\u0022,\u0022status\u0022:200,\u0022headers\u0022:{\u0022Cache-Control\u0022:\u0022no-store, no-cache\u0022,\u0022OData-Version\u0022:\u00224.0\u0022,\u0022Content-Type\u0022:\u0022application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\u0022},\u0022body\u0022:{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#groups(\u00270b5270d3-4267-47e4-afd3-21616fff47fe\u0027)/sites(\u0027root\u0027)/webUrl\u0022,\u0022value\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022}}]}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00001.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00001.response.json new file mode 100644 index 0000000000..0e5c13c244 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00001.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"7c617ba0-7072-5000-adee-9bff0d4df1c3","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Url\u0022:\u0022https://m365x18344513.sharepoint.com/sites/pnpcoresdktestteamsite50d11d955e6a4623adab464fd113ed52\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00002.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00002.response.json new file mode 100644 index 0000000000..ec9c220bc4 --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00002.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"7c617ba0-4079-5000-adee-9a456a64fc5d","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00220b5270d3-4267-47e4-afd3-21616fff47fe\u0022,\u0022Id\u0022:\u0022f572bce9-dcd2-495c-9efd-a18fd158a975\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00003.response.json b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00003.response.json new file mode 100644 index 0000000000..a39273071d --- /dev/null +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/MockData/SiteCreationTests_Application/CreateTeamSiteUsingNoDescriptionApplicationPermissions-300-00003.response.json @@ -0,0 +1 @@ +{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"7f617ba0-b002-5000-adee-914372c9d599","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Description\u0022:\u0022\u0022,\u0022Id\u0022:\u00221ab58b11-f4e1-4f86-9496-c10dd061a8ae\u0022,\u0022Language\u0022:1033,\u0022Title\u0022:\u0022PnP Core SDK Test\u0022}"} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Admin.Test/SharePoint/SiteCreationTests.cs b/src/sdk/PnP.Core.Admin.Test/SharePoint/SiteCreationTests.cs index dc47a22766..c276f16d66 100644 --- a/src/sdk/PnP.Core.Admin.Test/SharePoint/SiteCreationTests.cs +++ b/src/sdk/PnP.Core.Admin.Test/SharePoint/SiteCreationTests.cs @@ -336,7 +336,7 @@ public async Task CreateCommunicationSiteUsingApplicationPermissions() } finally { - using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite, 1)) + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.NoGroupTestSite, 1)) { context.GetSiteCollectionManager().DeleteSiteCollection(communicationSiteToCreate.Url); } @@ -576,6 +576,154 @@ public async Task CreateTeamSiteUsingApplicationPermissions() } } + [TestMethod] + public async Task CreateTeamSiteUsingEmptyDescriptionApplicationPermissions() + { + //TestCommon.Instance.Mocking = false; + TestCommon.Instance.UseApplicationPermissions = true; + + TeamSiteOptions teamSiteToCreate = null; + + // Create the site collection + Uri createdSiteCollection = null; + try + { + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.NoGroupTestSite)) + { + // Determine the user to set as owner + await context.Web.LoadAsync(p => p.AssociatedOwnerGroup.QueryProperties(p => p.Users)); + var user = context.Web.AssociatedOwnerGroup.Users.AsRequested().FirstOrDefault(); + + // Persist the used site url as we need to have the same url when we run an offline test + string alias; + if (!TestCommon.Instance.Mocking) + { + alias = $"pnpcoresdktestteamsite{Guid.NewGuid().ToString().Replace("-", "")}"; + Dictionary properties = new Dictionary + { + { "Alias", alias } + }; + TestManager.SaveProperties(context, properties); + } + else + { + alias = TestManager.GetProperties(context)["Alias"]; + } + + teamSiteToCreate = new TeamSiteOptions(alias, "PnP Core SDK Test") + { + Description = "", + Language = Language.English, + IsPublic = true, + Owners = new string[] { user.UserPrincipalName } + }; + + SiteCreationOptions siteCreationOptions = new SiteCreationOptions() + { + UsingApplicationPermissions = true, + }; + + using (var newSiteContext = context.GetSiteCollectionManager().CreateSiteCollection(teamSiteToCreate, siteCreationOptions)) + { + createdSiteCollection = newSiteContext.Uri; + + Assert.IsTrue(newSiteContext.Site.GroupId != Guid.Empty); + + var web = await newSiteContext.Web.GetAsync(p => p.Title, p => p.Description, p => p.Language); + Assert.IsTrue(web.Description == teamSiteToCreate.Description); + Assert.IsTrue(web.Language == (int)teamSiteToCreate.Language); + } + + if (context.Mode == TestMode.Record) + { + // Add a little delay between creation and deletion + await Task.Delay(TimeSpan.FromSeconds(15)); + } + } + } + finally + { + TestCommon.Instance.UseApplicationPermissions = false; + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite, 1)) + { + context.GetSiteCollectionManager().DeleteSiteCollection(createdSiteCollection); + } + } + } + + [TestMethod] + public async Task CreateTeamSiteUsingNoDescriptionApplicationPermissions() + { + //TestCommon.Instance.Mocking = false; + TestCommon.Instance.UseApplicationPermissions = true; + + TeamSiteOptions teamSiteToCreate = null; + + // Create the site collection + Uri createdSiteCollection = null; + try + { + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.NoGroupTestSite)) + { + // Determine the user to set as owner + await context.Web.LoadAsync(p => p.AssociatedOwnerGroup.QueryProperties(p => p.Users)); + var user = context.Web.AssociatedOwnerGroup.Users.AsRequested().FirstOrDefault(); + + // Persist the used site url as we need to have the same url when we run an offline test + string alias; + if (!TestCommon.Instance.Mocking) + { + alias = $"pnpcoresdktestteamsite{Guid.NewGuid().ToString().Replace("-", "")}"; + Dictionary properties = new Dictionary + { + { "Alias", alias } + }; + TestManager.SaveProperties(context, properties); + } + else + { + alias = TestManager.GetProperties(context)["Alias"]; + } + + teamSiteToCreate = new TeamSiteOptions(alias, "PnP Core SDK Test") + { + Language = Language.English, + IsPublic = true, + Owners = new string[] { user.UserPrincipalName } + }; + + SiteCreationOptions siteCreationOptions = new SiteCreationOptions() + { + UsingApplicationPermissions = true, + }; + + using (var newSiteContext = context.GetSiteCollectionManager().CreateSiteCollection(teamSiteToCreate, siteCreationOptions)) + { + createdSiteCollection = newSiteContext.Uri; + + Assert.IsTrue(newSiteContext.Site.GroupId != Guid.Empty); + + var web = await newSiteContext.Web.GetAsync(p => p.Title, p => p.Description, p => p.Language); + Assert.IsTrue(web.Language == (int)teamSiteToCreate.Language); + } + + if (context.Mode == TestMode.Record) + { + // Add a little delay between creation and deletion + await Task.Delay(TimeSpan.FromSeconds(15)); + } + } + } + finally + { + TestCommon.Instance.UseApplicationPermissions = false; + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite, 1)) + { + context.GetSiteCollectionManager().DeleteSiteCollection(createdSiteCollection); + } + } + } + [TestMethod] public async Task CreateTeamSiteWithMembersUsingApplicationPermissions() { diff --git a/src/sdk/PnP.Core.Admin/Model/SharePoint/Core/Internal/SiteCollectionCreator.cs b/src/sdk/PnP.Core.Admin/Model/SharePoint/Core/Internal/SiteCollectionCreator.cs index 4ecf8c8133..20c9d04dbe 100644 --- a/src/sdk/PnP.Core.Admin/Model/SharePoint/Core/Internal/SiteCollectionCreator.cs +++ b/src/sdk/PnP.Core.Admin/Model/SharePoint/Core/Internal/SiteCollectionCreator.cs @@ -187,7 +187,6 @@ private static async Task CreateTeamSiteAsync(PnPContext context, Te var newGroup = new GraphGroupOptions { DisplayName = siteToCreate.DisplayName, - Description = string.IsNullOrEmpty(siteToCreate.Description) ? string.Empty : siteToCreate.Description, MailNickname = siteToCreate.Alias, MailEnabled = true, Visibility = siteToCreate.IsPublic ? GroupVisibility.Public.ToString() : GroupVisibility.Private.ToString(), @@ -197,6 +196,11 @@ private static async Task CreateTeamSiteAsync(PnPContext context, Te ResourceBehaviorOptions = new List() }; + if(string.IsNullOrEmpty(siteToCreate.Description) == false) + { + newGroup.Description = siteToCreate.Description; + } + if(siteToCreate.AllowOnlyMembersToPost.GetValueOrDefault(false)) { newGroup.ResourceBehaviorOptions.Add("AllowOnlyMembersToPost");