Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update sharepoint filesquery api

Marcello Rocha7354f2d05274
diff --git a/modules/storages/app/common/storages/adapters/providers/share_point/queries/files_query.rb b/modules/storages/app/common/storages/adapters/providers/share_point/queries/files_query.rb
index 704d8f3e958..af5d4c385b0 100644
--- a/modules/storages/app/common/storages/adapters/providers/share_point/queries/files_query.rb
+++ b/modules/storages/app/common/storages/adapters/providers/share_point/queries/files_query.rb
@@ -49,10 +49,39 @@ module Storages
info "Requesting all libraries for the SharePoint site #{site_name}"
Internal::ListsQuery.call(storage: @storage, http:)
else
- info "Requesting all files under composite identifier #{folder}"
- Internal::ChildrenQuery.call(storage: @storage, http:, **split_identifier(folder))
+ drive_name, location = split_drive_and_folder(folder)
+
+ get_drive_id(http, drive_name).bind do |drive_id|
+ info "Requesting all files path #{folder.path}"
+ Internal::ChildrenQuery.call(storage: @storage, http:, drive_id:, location:)
+ end
+ end
+ end
+
+ def get_drive_id(http, drive_name)
+ Internal::ListsQuery.call(storage: @storage, http:).bind do |drives|
+ drive = drives.files.detect { it.name == drive_name }
+
+ if drive.present?
+ info "Drive ID found for list #{drive_name}"
+ Success(drive.id)
+ else
+ info "Drive #{drive_name} not found"
+ Failure(error.with(code: :not_found, payload: drives))
+ end
end
end
+
+ def error
+ Results::Error.new(source: self.class)
+ end
+
+ def split_drive_and_folder(folder)
+ drive_name, *fragments = folder.path.split("/")[1..]
+ location = Peripherals::ParentFolder.new(fragments.empty? ? "/" : fragments.join("/"))
+
+ [drive_name, location]
+ end
end
end
end
diff --git a/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/children_query.rb b/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/children_query.rb
index 7a1037cd950..c424b061858 100644
--- a/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/children_query.rb
+++ b/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/children_query.rb
@@ -104,14 +104,31 @@ module Storages
def empty_response(http, drive_id, folder)
handle_response(http.get(folder_uri(drive_id, folder) + FIELDS)).bind do |json|
- Results::StorageFileCollection.build(
- files: [],
- parent: @transformer.bare_transform(json),
- ancestors: build_empty_ancestors(json)
- )
+ if folder.root?
+ build_empty_root_folder(json)
+ else
+ Results::StorageFileCollection.build(
+ files: [],
+ parent: @transformer.bare_transform(json),
+ ancestors: build_empty_ancestors(json)
+ )
+ end
end
end
+ def build_empty_root_folder(json)
+ Results::StorageFileCollection.build(
+ files: [],
+ parent: Results::StorageFile.new(
+ name: CGI.unescape(json[:webUrl].gsub(/.*#{site_name}\//, "")),
+ id: json[:parentReference][:driveId],
+ location: json[:webUrl].gsub(/.*#{site_name}/, ""),
+ permissions: %i[readable writeable]
+ ),
+ ancestors: [site_root]
+ )
+ end
+
def build_ancestors(parent_reference, web_url)
drive_name = CGI.unescape(web_url.gsub(/.*#{site_name}\//, "").split("/").first)
list = parent_reference[:path].gsub(/.*root:/, "").split("/")[0..-2] # Last item is the parent
@@ -123,7 +140,7 @@ module Storages
drive_name = CGI.unescape(json[:webUrl].gsub(/.*#{site_name}\//, "").split("/").first)
list = parent_reference[:path].gsub(/.*root:/, "").split("/")
- return [site_root, drive_root(drive_name)] if list.empty?
+ return [site_root, drive_root(drive_name)] if list.blank?
forge_ancestors(list, drive_name)
end
@@ -140,13 +157,9 @@ module Storages
end
end
- def drive_root(name)
- @transformer.build_ancestor(name, "/#{name}")
- end
+ def drive_root(name) = @transformer.build_ancestor(name, "/#{name}")
- def site_root
- @transformer.build_ancestor(site_name, "/")
- end
+ def site_root = @transformer.build_ancestor(site_name, "/")
end
end
end
diff --git a/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/lists_query.rb b/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/lists_query.rb
index 315b0ec81a1..9554d681d9d 100644
--- a/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/lists_query.rb
+++ b/modules/storages/app/common/storages/adapters/providers/share_point/queries/internal/lists_query.rb
@@ -72,7 +72,7 @@ module Storages
Results::StorageFile.build(
name: entry[:name],
- id: "#{entry.dig(:drive, :id)}#{SharePointStorage::IDENTIFIER_SEPARATOR}",
+ id: entry.dig(:drive, :id).to_s,
mime_type: "application/x-op-drive",
location: UrlBuilder.path("/", entry[:name]),
permissions: %i[readable writeable]
diff --git a/modules/storages/spec/common/storages/adapters/providers/share_point/queries/files_query_spec.rb b/modules/storages/spec/common/storages/adapters/providers/share_point/queries/files_query_spec.rb
index f991560f23a..2dcc7af588a 100644
--- a/modules/storages/spec/common/storages/adapters/providers/share_point/queries/files_query_spec.rb
+++ b/modules/storages/spec/common/storages/adapters/providers/share_point/queries/files_query_spec.rb
@@ -52,56 +52,56 @@ module Storages
Results::StorageFileCollection.new(
files: [
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK",
name: "OpenProject",
mime_type: "application/x-op-drive",
location: "/OpenProject",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw",
name: "Shared Documents",
mime_type: "application/x-op-drive",
location: "/Shared%20Documents",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol",
name: "Selected Permissions",
mime_type: "application/x-op-drive",
location: "/Selected%20Permissions",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_",
name: "Chris document library",
mime_type: "application/x-op-drive",
location: "/Chris%20document%20library",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX",
name: "Marcello AMPF",
mime_type: "application/x-op-drive",
location: "/Marcello%20AMPF",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn",
name: "Dominic",
mime_type: "application/x-op-drive",
location: "/Dominic",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95",
name: "Markus",
mime_type: "application/x-op-drive",
location: "/Markus",
permissions: %i[readable writeable]
),
Results::StorageFile.new(
- id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||",
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW",
name: "Marcello VCR",
mime_type: "application/x-op-drive",
location: "/Marcello%20VCR",
@@ -120,7 +120,7 @@ module Storages
end
context "when requesting a drive", vcr: "share_point/files_query_drive" do
- let(:folder) { "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||/" }
+ let(:folder) { "/Marcello VCR" }
let(:files_result) do
Results::StorageFileCollection.new(
files: [
@@ -148,6 +148,18 @@ module Storages
location: "/Marcello%20VCR/empty",
permissions: %i[readable writeable]
),
+ Results::StorageFile.new(
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||01ANJ53W7TITEF4WCHRBDKR7VMNUWZ33WD",
+ name: "Folder with spaces",
+ size: 0,
+ mime_type: "application/x-op-directory",
+ created_at: Time.zone.parse("2025-08-05 15:20:12Z"),
+ last_modified_at: Time.zone.parse("2025-08-05 15:20:13Z"),
+ created_by_name: "OP Owner",
+ last_modified_by_name: "OP Owner",
+ location: "/Marcello%20VCR/Folder%20with%20spaces",
+ permissions: %i[readable writeable]
+ ),
Results::StorageFile.new(
id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||01ANJ53WZVLAWJSVFKOFF3HLYZPMPUK6HI",
name: "simply_oidc.jpg",
@@ -177,9 +189,7 @@ module Storages
end
context "when requesting an folder", vcr: "share_point/files_query_folder" do
- let(:folder) do
- "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||data"
- end
+ let(:folder) { "/Marcello VCR/data" }
let(:files_result) do
Results::StorageFileCollection.new(
@@ -226,9 +236,7 @@ module Storages
end
context "when requesting a sub folder", vcr: "share_point/files_query_sub_folder" do
- let(:folder) do
- "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||data/subfolder"
- end
+ let(:folder) { "/Marcello VCR/data/subfolder" }
let(:files_result) do
Results::StorageFileCollection.new(
files: [
@@ -263,9 +271,7 @@ module Storages
end
context "when requesting an empty folder", vcr: "share_point/files_query_empty_folder" do
- let(:folder) do
- "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||empty"
- end
+ let(:folder) { "/Marcello VCR/empty" }
let(:files_result) do
Results::StorageFileCollection.new(
@@ -286,16 +292,37 @@ module Storages
it_behaves_like "adapter files_query: successful files response"
end
+ context "when requesting an empty library", vcr: "share_point/files_query_empty_drive" do
+ let(:folder) { "/Selected Permissions" }
+
+ let(:files_result) do
+ Results::StorageFileCollection.new(
+ files: [],
+ parent: Results::StorageFile.new(
+ id: "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol",
+ name: "Selected Permissions",
+ location: "/Selected%20Permissions",
+ permissions: %i[readable writeable]
+ ),
+ ancestors: [
+ Results::StorageFileAncestor.new(name: "OPTest", location: "/")
+ ]
+ )
+ end
+
+ it_behaves_like "adapter files_query: successful files response"
+ end
+
context "when requesting an unknown file", vcr: "share_point/files_query_file_not_found" do
- let(:folder) { "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW||POTATO" }
+ let(:folder) { "/Marcello VCR/POTATO" }
it_behaves_like "adapter files_query: not found", Internal::ChildrenQuery
end
context "when requestion an unknown drive", vcr: "share_point/files_query_drive_not_found" do
- let(:folder) { "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvPoTaTO" }
+ let(:folder) { "/That is no moon" }
- it_behaves_like "adapter files_query: not found", Internal::ChildrenQuery
+ it_behaves_like "adapter files_query: not found"
end
# rubocop:enable Layout/LineLength
end
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive.yml
index 6bf079c16db..b588a1d69d7 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive.yml
@@ -37,13 +37,13 @@ http_interactions:
P3p:
- CP="DSP CUR OTPi IND OTRi ONL FIN"
X-Ms-Request-Id:
- - 4ec08b8c-2cdf-48f6-bf34-fb9b9c080a00
+ - 66c1fb24-930c-478f-a951-255b9178d700
X-Ms-Ests-Server:
- - 2.1.21415.8 - WEULR1 ProdSlices
+ - 2.1.21415.9 - FRC ProdSlices
X-Ms-Srs:
- 1.P
Content-Security-Policy-Report-Only:
- - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-2ejqtDi2cHtAbTKF6HGh9g'
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-zstbQkltMczsenBbfXL99A'
'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
@@ -52,18 +52,98 @@ http_interactions:
X-Xss-Protection:
- '0'
Set-Cookie:
- - fpc=AneMM3AJvplMqyQbGUyyx6lZ-dCOAQAAAKyAGuAOAAAA; expires=Thu, 28-Aug-2025
- 08:43:24 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ - fpc=AmqH078jVplOgHuZLDunuztZ-dCOAQAAAOK-J-AOAAAA; expires=Sun, 07-Sep-2025
+ 09:48:19 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
secure; samesite=none; httponly
Date:
- - Tue, 29 Jul 2025 08:43:24 GMT
+ - Fri, 08 Aug 2025 09:48:18 GMT
Content-Length:
- '1932'
body:
encoding: UTF-8
string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
- recorded_at: Tue, 29 Jul 2025 08:43:24 GMT
+ recorded_at: Fri, 08 Aug 2025 09:48:19 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 628b15ce-1c20-40be-9bab-d5c47567bcd0
+ Client-Request-Id:
+ - 628b15ce-1c20-40be-9bab-d5c47567bcd0
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"006","RoleInstance":"FR1PEPF00001FCC"}}'
+ Splogid:
+ - 1ab4b9a1-1097-0000-7534-c41353088b1c
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Fri, 08 Aug 2025 09:48:19 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2024-08-12T16:45:41Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 09:48:20 GMT
- request:
method: get
uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
@@ -94,15 +174,15 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - 51333f1f-b882-49a7-9c19-9feaa14a4087
+ - dca0cc86-141a-4d49-97d5-46d068c456fa
Client-Request-Id:
- - 51333f1f-b882-49a7-9c19-9feaa14a4087
+ - dca0cc86-141a-4d49-97d5-46d068c456fa
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000400"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"006","RoleInstance":"FR1PEPF00001FCC"}}'
Splogid:
- - 6a78b6a1-9046-0000-7534-c585c9f58701
+ - 1ab4b9a1-70b7-0000-7534-c1f64f25cb65
Date:
- - Tue, 29 Jul 2025 08:43:24 GMT
+ - Fri, 08 Aug 2025 09:48:20 GMT
body:
encoding: UTF-8
string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"@odata.etag":"\"{8DA9DCAF-43E4-419C-B52E-F1303A0D3372},1\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
@@ -111,9 +191,12 @@ http_interactions:
VCR","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/data","fileSystemInfo":{"createdDateTime":"2025-04-07T12:02:26Z","lastModifiedDateTime":"2025-04-07T12:02:26Z"},"folder":{"childCount":2},"size":12605},{"@odata.etag":"\"{257DB24C-2F13-4C39-8000-3BD7558C31E4},1\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"id":"01ANJ53W2MWJ6SKEZPHFGIAAB325KYYMPE","lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"name":"empty","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
- VCR","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/empty","fileSystemInfo":{"createdDateTime":"2025-07-28T08:46:36Z","lastModifiedDateTime":"2025-07-28T08:46:36Z"},"folder":{"childCount":0},"size":0},{"@odata.etag":"\"{992C5835-AA54-4B71-B3AF-197B1F4578E8},2\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ VCR","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/empty","fileSystemInfo":{"createdDateTime":"2025-07-28T08:46:36Z","lastModifiedDateTime":"2025-07-28T08:46:36Z"},"folder":{"childCount":0},"size":0},{"@odata.etag":"\"{5EC844F3-4758-4688-A8FE-AC6D2D9DEEC3},2\"","createdBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"id":"01ANJ53W7TITEF4WCHRBDKR7VMNUWZ33WD","lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"name":"Folder with spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ VCR","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/Folder%20with%20spaces","fileSystemInfo":{"createdDateTime":"2025-08-05T15:20:12Z","lastModifiedDateTime":"2025-08-05T15:20:13Z"},"folder":{"childCount":0,"decorator":{"iconColor":"darkOrange"}},"size":0},{"@odata.etag":"\"{992C5835-AA54-4B71-B3AF-197B1F4578E8},2\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"id":"01ANJ53WZVLAWJSVFKOFF3HLYZPMPUK6HI","lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"name":"simply_oidc.jpg","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
VCR","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/simply_oidc.jpg","file":{"hashes":{"quickXorHash":"qzqT/ZJgJnvhu77aF+2RcdH62Sc="},"mimeType":"image/jpeg"},"fileSystemInfo":{"createdDateTime":"2025-04-07T12:02:42Z","lastModifiedDateTime":"2025-04-07T12:02:42Z"},"size":56483}]}'
- recorded_at: Tue, 29 Jul 2025 08:43:25 GMT
+ recorded_at: Fri, 08 Aug 2025 09:48:20 GMT
recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive_not_found.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive_not_found.yml
index 6248f860b41..17784a429da 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive_not_found.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_drive_not_found.yml
@@ -37,13 +37,13 @@ http_interactions:
P3p:
- CP="DSP CUR OTPi IND OTRi ONL FIN"
X-Ms-Request-Id:
- - c9505a9c-e667-4463-8ca7-b9a6a743b500
+ - 3a28052a-558e-4483-bb63-e209f4a64700
X-Ms-Ests-Server:
- - 2.1.21415.7 - NEULR1 ProdSlices
+ - 2.1.21470.11 - WEULR1 ProdSlices
X-Ms-Srs:
- 1.P
Content-Security-Policy-Report-Only:
- - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-cyQfIqqFLw_nwwr-5XGyNQ'
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce--TZF6qKL9UrtZm7Hv3p_Kw'
'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
@@ -52,21 +52,21 @@ http_interactions:
X-Xss-Protection:
- '0'
Set-Cookie:
- - fpc=AoG5mtQlIaJJtU0v5wR3ju5Z-dCOAQAAALKAGuAOAAAA; expires=Thu, 28-Aug-2025
- 08:43:31 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ - fpc=AkNumlrtRc9OtoUB3ihrtAVZ-dCOAQAAALbAJ-AOAAAA; expires=Sun, 07-Sep-2025
+ 09:56:07 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
secure; samesite=none; httponly
Date:
- - Tue, 29 Jul 2025 08:43:30 GMT
+ - Fri, 08 Aug 2025 09:56:06 GMT
Content-Length:
- - '1935'
+ - '1932'
body:
encoding: UTF-8
string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
- recorded_at: Tue, 29 Jul 2025 08:43:31 GMT
+ recorded_at: Fri, 08 Aug 2025 09:56:07 GMT
- request:
method: get
- uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvPoTaTO/root/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
body:
encoding: US-ASCII
string: ''
@@ -81,13 +81,13 @@ http_interactions:
- Bearer <BEARER TOKEN>
response:
status:
- code: 404
- message: Not Found
+ code: 200
+ message: OK
headers:
Cache-Control:
- no-store, no-cache
Content-Type:
- - application/json; charset=utf-8
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Content-Encoding:
- gzip
Vary:
@@ -95,17 +95,53 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - 4bcaec8e-554a-4b1d-872a-eae53bc692b4
+ - 4036a72f-3585-4f0d-abf1-85a44066e8a6
Client-Request-Id:
- - 4bcaec8e-554a-4b1d-872a-eae53bc692b4
+ - 4036a72f-3585-4f0d-abf1-85a44066e8a6
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001EE"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"008","RoleInstance":"FR3PEPF00000CC0"}}'
Splogid:
- - 6b78b6a1-90ce-0000-7534-c35aeefe5ff5
+ - 8cb4b9a1-40bf-0000-7bb8-a590e4c2dba7
+ Odata-Version:
+ - '4.0'
Date:
- - Tue, 29 Jul 2025 08:43:30 GMT
+ - Fri, 08 Aug 2025 09:56:06 GMT
body:
encoding: UTF-8
- string: '{"error":{"code":"itemNotFound","message":"Item not found"}}'
- recorded_at: Tue, 29 Jul 2025 08:43:31 GMT
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2024-08-12T16:45:41Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 09:56:07 GMT
recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_drive.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_drive.yml
new file mode 100644
index 00000000000..ba2be64a65b
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_drive.yml
@@ -0,0 +1,233 @@
+---
+http_interactions:
+- request:
+ method: post
+ uri: https://login.microsoftonline.com/e36f1dbc-fdae-427e-b61b-0d96ddfb81a4/oauth2/v2.0/token
+ body:
+ encoding: ASCII-8BIT
+ string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+offline_access&client_id=404e0567-19a1-4a64-b2d1-d3b0c99f2ed9&client_secret=QRB8Q%7Ei.1rID_.MC9FTfRGq-FTE5SgWYsoeLacWf
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '199'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Pragma:
+ - no-cache
+ Content-Type:
+ - application/json; charset=utf-8
+ Expires:
+ - "-1"
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains
+ X-Content-Type-Options:
+ - nosniff
+ P3p:
+ - CP="DSP CUR OTPi IND OTRi ONL FIN"
+ X-Ms-Request-Id:
+ - 44b1c8f5-c55b-42fa-a956-2d61a3e2b300
+ X-Ms-Ests-Server:
+ - 2.1.21415.9 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-2K6bv54Q_fVIUXgZGnew8g'
+ 'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
+ https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
+ https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
+ https://*.outlook.com https://*.office.com https://*.office365.com https://*.microsoft.com
+ https://*.bing.com 'report-sample'; report-uri https://csp.microsoft.com/report/ESTS-UX-All
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Akxjjrh0MydPuPqfrU_05kJZ-dCOAQAAAN7JJ-AOAAAA; expires=Sun, 07-Sep-2025
+ 10:35:11 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Fri, 08 Aug 2025 10:35:11 GMT
+ Content-Length:
+ - '1927'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Fri, 08 Aug 2025 10:35:11 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 4a84015f-0ed5-42b9-8a25-27299793f872
+ Client-Request-Id:
+ - 4a84015f-0ed5-42b9-8a25-27299793f872
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF00003207"}}'
+ Splogid:
+ - c9b6b9a1-502e-0000-7bb8-a5247be4c645
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Fri, 08 Aug 2025 10:35:12 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2025-08-08T10:34:26Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":2613,"remaining":27487787000160,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 10:35:12 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol/root/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;
+ charset=utf-8
+ Content-Encoding:
+ - gzip
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 3be04c4b-1936-4c06-9d04-891814f921d3
+ Client-Request-Id:
+ - 3be04c4b-1936-4c06-9d04-891814f921d3
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF00003207"}}'
+ Splogid:
+ - c9b6b9a1-1041-0000-7534-c0cb60814e7d
+ Date:
+ - Fri, 08 Aug 2025 10:35:12 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[]}'
+ recorded_at: Fri, 08 Aug 2025 10:35:12 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol/root?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;
+ charset=utf-8
+ Content-Encoding:
+ - gzip
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - df2439a7-8b2c-4692-aa2d-85594244da9e
+ Client-Request-Id:
+ - df2439a7-8b2c-4692-aa2d-85594244da9e
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF00003207"}}'
+ Splogid:
+ - c9b6b9a1-6052-0000-7534-c4efe8d1c041
+ Date:
+ - Fri, 08 Aug 2025 10:35:12 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","fileSystemInfo":{"createdDateTime":"2024-08-12T13:14:43Z","lastModifiedDateTime":"2025-08-08T10:34:26Z"},"folder":{"childCount":0},"size":0}'
+ recorded_at: Fri, 08 Aug 2025 10:35:12 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_folder.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_folder.yml
index faf215b1332..9b30aea3e89 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_folder.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_empty_folder.yml
@@ -37,13 +37,13 @@ http_interactions:
P3p:
- CP="DSP CUR OTPi IND OTRi ONL FIN"
X-Ms-Request-Id:
- - c793650a-7cc1-42f4-b175-50636543f000
+ - e6715bb4-4dc1-40bb-a77b-8d9943d64b00
X-Ms-Ests-Server:
- - 2.1.21415.7 - NEULR1 ProdSlices
+ - 2.1.21470.11 - WEULR1 ProdSlices
X-Ms-Srs:
- 1.P
Content-Security-Policy-Report-Only:
- - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-o3yU83OQvFJqBmxoqe4LjQ'
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-u8sXs0CxsF_TcWD0t8nUow'
'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
@@ -52,18 +52,98 @@ http_interactions:
X-Xss-Protection:
- '0'
Set-Cookie:
- - fpc=AlV2DsLJ-jBLn3oPM6k1qcJZ-dCOAQAAAK6AGuAOAAAA; expires=Thu, 28-Aug-2025
- 08:43:26 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ - fpc=AsXdDzP_26tKkfXSTHl8zldZ-dCOAQAAAGbAJ-AOAAAA; expires=Sun, 07-Sep-2025
+ 09:54:47 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
secure; samesite=none; httponly
Date:
- - Tue, 29 Jul 2025 08:43:25 GMT
+ - Fri, 08 Aug 2025 09:54:47 GMT
Content-Length:
- - '1935'
+ - '1932'
body:
encoding: UTF-8
string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
- recorded_at: Tue, 29 Jul 2025 08:43:26 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:47 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 444af850-50d5-4007-91fc-61f7d3a385f5
+ Client-Request-Id:
+ - 444af850-50d5-4007-91fc-61f7d3a385f5
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF000003FC"}}'
+ Splogid:
+ - 79b4b9a1-b072-0000-7534-c674306b4da9
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Fri, 08 Aug 2025 09:54:48 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2024-08-12T16:45:41Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 09:54:48 GMT
- request:
method: get
uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/empty:/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
@@ -94,19 +174,19 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - 7d40873b-70fe-44e7-9227-c78c4cc5bc7a
+ - ab5c3a91-3954-4314-ac41-dc64b93e8c86
Client-Request-Id:
- - 7d40873b-70fe-44e7-9227-c78c4cc5bc7a
+ - ab5c3a91-3954-4314-ac41-dc64b93e8c86
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001EE"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF000003FC"}}'
Splogid:
- - 6a78b6a1-a0a9-0000-7534-c94564ab7f1c
+ - 79b4b9a1-7092-0000-7534-c9df0ed91fb8
Date:
- - Tue, 29 Jul 2025 08:43:26 GMT
+ - Fri, 08 Aug 2025 09:54:48 GMT
body:
encoding: UTF-8
string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[]}'
- recorded_at: Tue, 29 Jul 2025 08:43:26 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:48 GMT
- request:
method: get
uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/empty?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
@@ -137,20 +217,20 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - 0fe7f69c-2896-4b5b-bd74-3549ed87ca96
+ - 83e9ba23-a199-4d77-b021-c1b52064004f
Client-Request-Id:
- - 0fe7f69c-2896-4b5b-bd74-3549ed87ca96
+ - 83e9ba23-a199-4d77-b021-c1b52064004f
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001EE"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF000003FC"}}'
Splogid:
- - 6a78b6a1-a0b5-0000-7534-cf59e5c2a115
+ - 79b4b9a1-b09c-0000-7534-cabae90401f8
Date:
- - Tue, 29 Jul 2025 08:43:26 GMT
+ - Fri, 08 Aug 2025 09:54:48 GMT
body:
encoding: UTF-8
string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","@odata.etag":"\"{257DB24C-2F13-4C39-8000-3BD7558C31E4},1\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"id":"01ANJ53W2MWJ6SKEZPHFGIAAB325KYYMPE","lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"name":"empty","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
VCR","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/empty","fileSystemInfo":{"createdDateTime":"2025-07-28T08:46:36Z","lastModifiedDateTime":"2025-07-28T08:46:36Z"},"folder":{"childCount":0},"size":0}'
- recorded_at: Tue, 29 Jul 2025 08:43:27 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:49 GMT
recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_file_not_found.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_file_not_found.yml
index dd326249093..9cd82ebe67a 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_file_not_found.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_file_not_found.yml
@@ -37,13 +37,13 @@ http_interactions:
P3p:
- CP="DSP CUR OTPi IND OTRi ONL FIN"
X-Ms-Request-Id:
- - e0ae382e-610b-4540-bf8e-b647a3c60100
+ - bb2869e7-95f4-40bf-84ee-159765190500
X-Ms-Ests-Server:
- - 2.1.21415.8 - SEC ProdSlices
+ - 2.1.21470.11 - NEULR1 ProdSlices
X-Ms-Srs:
- 1.P
Content-Security-Policy-Report-Only:
- - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-8nuxlo41p8YUlOGBkvr0QA'
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-UdmEo5dJwpeK7uJY9-uhvA'
'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
@@ -52,18 +52,98 @@ http_interactions:
X-Xss-Protection:
- '0'
Set-Cookie:
- - fpc=AgPm81TOrBRGsI8ii7mxCF5Z-dCOAQAAALCAGuAOAAAA; expires=Thu, 28-Aug-2025
- 08:43:28 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ - fpc=AvCfDbfGfYpAiflzWFGGvstZ-dCOAQAAAJPAJ-AOAAAA; expires=Sun, 07-Sep-2025
+ 09:55:31 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
secure; samesite=none; httponly
Date:
- - Tue, 29 Jul 2025 08:43:27 GMT
+ - Fri, 08 Aug 2025 09:55:30 GMT
Content-Length:
- - '1927'
+ - '1935'
body:
encoding: UTF-8
string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
- recorded_at: Tue, 29 Jul 2025 08:43:28 GMT
+ recorded_at: Fri, 08 Aug 2025 09:55:31 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - d69f32a8-f0c9-460d-8fcc-1fc2d29b362d
+ Client-Request-Id:
+ - d69f32a8-f0c9-460d-8fcc-1fc2d29b362d
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"006","RoleInstance":"FR1PEPF00001FC7"}}'
+ Splogid:
+ - 84b4b9a1-4024-0000-7534-c16271e7dcda
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Fri, 08 Aug 2025 09:55:31 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2024-08-12T16:45:41Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 09:55:32 GMT
- request:
method: get
uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/POTATO:/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
@@ -96,18 +176,18 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - 82303d0a-e686-47d0-a59d-4a1aa1aed489
+ - 6c62c3c2-696b-4111-b877-7fdb01003f0c
Client-Request-Id:
- - 82303d0a-e686-47d0-a59d-4a1aa1aed489
+ - 6c62c3c2-696b-4111-b877-7fdb01003f0c
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DD"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"006","RoleInstance":"FR1PEPF00001FC7"}}'
Splogid:
- - 6b78b6a1-c0a3-0000-7534-c1315b3a5d62
+ - 84b4b9a1-b039-0000-7534-c04cd1c36517
Date:
- - Tue, 29 Jul 2025 08:43:30 GMT
+ - Fri, 08 Aug 2025 09:55:31 GMT
body:
encoding: UTF-8
string: '{"error":{"code":"itemNotFound","message":"The resource could not be
found."}}'
- recorded_at: Tue, 29 Jul 2025 08:43:30 GMT
+ recorded_at: Fri, 08 Aug 2025 09:55:32 GMT
recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_folder.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_folder.yml
index 5424c31a3f6..23ecabc781f 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_folder.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_folder.yml
@@ -37,13 +37,13 @@ http_interactions:
P3p:
- CP="DSP CUR OTPi IND OTRi ONL FIN"
X-Ms-Request-Id:
- - c12f7d67-2767-4164-958c-d4f8d09e0900
+ - fac0df13-aa5e-4b69-8147-9e115dab1f00
X-Ms-Ests-Server:
- - 2.1.21415.7 - FRC ProdSlices
+ - 2.1.21470.11 - SEC ProdSlices
X-Ms-Srs:
- 1.P
Content-Security-Policy-Report-Only:
- - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-8T8VddmPKbxuBtV34nnbfg'
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-FBs5xoIhULslF4055_rYJg'
'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
@@ -52,18 +52,98 @@ http_interactions:
X-Xss-Protection:
- '0'
Set-Cookie:
- - fpc=AhLF2dL16qVCocHKKe9nTY5Z-dCOAQAAAKqAGuAOAAAA; expires=Thu, 28-Aug-2025
- 08:43:22 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ - fpc=AhDVkl3YpQtHt37099ll0ANZ-dCOAQAAADrAJ-AOAAAA; expires=Sun, 07-Sep-2025
+ 09:54:03 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
secure; samesite=none; httponly
Date:
- - Tue, 29 Jul 2025 08:43:22 GMT
+ - Fri, 08 Aug 2025 09:54:02 GMT
Content-Length:
- - '1931'
+ - '1932'
body:
encoding: UTF-8
string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
- recorded_at: Tue, 29 Jul 2025 08:43:22 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:03 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - f50a65c7-f718-4693-8c3c-5e34463d0d7c
+ Client-Request-Id:
+ - f50a65c7-f718-4693-8c3c-5e34463d0d7c
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000315"}}'
+ Splogid:
+ - 6eb4b9a1-9082-0000-7534-c81b34f0f4af
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Fri, 08 Aug 2025 09:54:03 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2024-08-12T16:45:41Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 09:54:03 GMT
- request:
method: get
uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/data:/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
@@ -94,15 +174,15 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - '09215f41-a3b7-4d85-a577-aeeb31269189'
+ - 44728895-e387-4cf2-b788-d1720974dd9c
Client-Request-Id:
- - '09215f41-a3b7-4d85-a577-aeeb31269189'
+ - 44728895-e387-4cf2-b788-d1720974dd9c
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000CB7"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000315"}}'
Splogid:
- - 6978b6a1-80ab-0000-7534-cc12511848cf
+ - 6eb4b9a1-9099-0000-7a8c-c916432f5c7c
Date:
- - Tue, 29 Jul 2025 08:43:22 GMT
+ - Fri, 08 Aug 2025 09:54:03 GMT
body:
encoding: UTF-8
string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"@odata.etag":"\"{7EF108C3-6BF7-49E4-86B9-9447AF564DDE},1\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
@@ -110,5 +190,5 @@ http_interactions:
Schubert"}},"name":"subfolder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W5P3SUY3ZCDTRA3KLXRGA5A2M3S","name":"data","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/data","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/data/subfolder","fileSystemInfo":{"createdDateTime":"2025-07-28T15:03:27Z","lastModifiedDateTime":"2025-07-28T15:03:27Z"},"folder":{"childCount":1},"size":11845},{"@odata.etag":"\"{DB627F5E-F5D3-42D2-A156-10018D3773C0},1\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"id":"01ANJ53W26P5RNXU7V2JBKCVQQAGGTO46A","lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"name":"edge one_drive_health_report_2025-07-22T16_03_25Z.txt","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W5P3SUY3ZCDTRA3KLXRGA5A2M3S","name":"data","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/data","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/data/edge%20one_drive_health_report_2025-07-22T16_03_25Z.txt","file":{"hashes":{"quickXorHash":"dUZdSj55kRInUxY0kvoKq2xFSLk="},"mimeType":"text/plain"},"fileSystemInfo":{"createdDateTime":"2025-07-28T08:45:30Z","lastModifiedDateTime":"2025-07-28T08:45:30Z"},"size":760}]}'
- recorded_at: Tue, 29 Jul 2025 08:43:22 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:04 GMT
recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_sub_folder.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_sub_folder.yml
index 6cb9c871b96..bca84eb37b7 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_sub_folder.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/share_point/files_query_sub_folder.yml
@@ -37,13 +37,13 @@ http_interactions:
P3p:
- CP="DSP CUR OTPi IND OTRi ONL FIN"
X-Ms-Request-Id:
- - 801e4994-fa65-4968-a322-34729db2c800
+ - e5674bc6-1b95-42ae-8114-c6449af74300
X-Ms-Ests-Server:
- - 2.1.21415.7 - NEULR1 ProdSlices
+ - 2.1.21470.11 - WEULR1 ProdSlices
X-Ms-Srs:
- 1.P
Content-Security-Policy-Report-Only:
- - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-6D_qoNbKLX9JypzzRltl2A'
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-gR3L9D5W4YUn-A_90PFheA'
'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net
https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com
https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net
@@ -52,18 +52,98 @@ http_interactions:
X-Xss-Protection:
- '0'
Set-Cookie:
- - fpc=AmHkd5Kz3HVGhrJsTCmkauRZ-dCOAQAAAKqAGuAOAAAA; expires=Thu, 28-Aug-2025
- 08:43:23 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ - fpc=Anr50MO-EFdCmJgyz_shTB9Z-dCOAQAAADvAJ-AOAAAA; expires=Sun, 07-Sep-2025
+ 09:54:04 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
secure; samesite=none; httponly
Date:
- - Tue, 29 Jul 2025 08:43:23 GMT
+ - Fri, 08 Aug 2025 09:54:03 GMT
Content-Length:
- - '1940'
+ - '1937'
body:
encoding: UTF-8
string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
- recorded_at: Tue, 29 Jul 2025 08:43:23 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:04 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/sites/ymt6d.sharepoint.com:/sites/OPTest:/lists?$expand=drive&$select=id,name,drive
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.3.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 491884ba-b362-49f6-badd-96a3a00b550b
+ Client-Request-Id:
+ - 491884ba-b362-49f6-badd-96a3a00b550b
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000E3E"}}'
+ Splogid:
+ - 6eb4b9a1-f0db-0000-7bb8-ae7c697236bb
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Fri, 08 Aug 2025 09:54:04 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(id,name,drive,drive())","value":[{"@odata.etag":"\"df897210-689b-48ba-a128-0a6b8662a40a,26\"","id":"df897210-689b-48ba-a128-0a6b8662a40a","name":"OpenProject","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''df897210-689b-48ba-a128-0a6b8662a40a'')/drive/$entity","drive":{"createdDateTime":"2024-02-02T13:53:33Z","description":"Enabled
+ for automatic management","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Qconfm2i6SKEoCmuGYqQK","lastModifiedDateTime":"2025-06-18T11:42:21Z","name":"OpenProject","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/OpenProject","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"7a76be3b-077e-41ef-a9d9-1d7f97080cb0,21\"","id":"7a76be3b-077e-41ef-a9d9-1d7f97080cb0","name":"Shared
+ Documents","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''7a76be3b-077e-41ef-a9d9-1d7f97080cb0'')/drive/$entity","drive":{"createdDateTime":"2023-12-10T00:27:16Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY87vnZ6fgfvQanZHX-XCAyw","lastModifiedDateTime":"2025-08-07T11:35:23Z","name":"Documents","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System
+ Account"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5cda990f-64f2-4035-9932-21b6d6409a25,4\"","id":"5cda990f-64f2-4035-9932-21b6d6409a25","name":"Selected
+ Permissions","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5cda990f-64f2-4035-9932-21b6d6409a25'')/drive/$entity","drive":{"createdDateTime":"2024-08-12T13:14:43Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8Pmdpc8mQ1QJkyIbbWQJol","lastModifiedDateTime":"2024-08-12T16:45:41Z","name":"Selected
+ Permissions","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Selected%20Permissions","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f,22\"","id":"f5a7a0d8-fb24-48d8-9785-46ccb1e3317f","name":"Chris
+ document library","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''f5a7a0d8-fb24-48d8-9785-46ccb1e3317f'')/drive/$entity","drive":{"createdDateTime":"2024-02-13T15:38:57Z","description":"For
+ testing","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY_YoKf1JPvYSJeFRsyx4zF_","lastModifiedDateTime":"2024-05-21T12:58:12Z","name":"Chris
+ document library","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Chris%20document%20library","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5bbaa900-f913-41c9-9593-c3d03a14684b","displayName":"Christophe
+ Bliard"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"87d67c02-fdaf-4504-8b39-920984585ad7,4\"","id":"87d67c02-fdaf-4504-8b39-920984585ad7","name":"Marcello
+ AMPF","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''87d67c02-fdaf-4504-8b39-920984585ad7'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:03:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","lastModifiedDateTime":"2025-04-09T16:01:59Z","name":"Marcello
+ (AMPF)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"587ba428-c078-4d0d-a857-952e781601e7,6\"","id":"587ba428-c078-4d0d-a857-952e781601e7","name":"Dominic","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''587ba428-c078-4d0d-a857-952e781601e7'')/drive/$entity","drive":{"createdDateTime":"2024-07-05T09:54:25Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8opHtYeMANTahXlS54FgHn","lastModifiedDateTime":"2024-07-19T07:48:01Z","name":"Dominic","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Dominic","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"6b0e0177-f280-47a8-bb4c-c29b29823f79,25\"","id":"6b0e0177-f280-47a8-bb4c-c29b29823f79","name":"Markus","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''6b0e0177-f280-47a8-bb4c-c29b29823f79'')/drive/$entity","drive":{"createdDateTime":"2024-05-13T14:53:56Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY93AQ5rgPKoR7tMwpspgj95","lastModifiedDateTime":"2025-05-19T13:28:22Z","name":"Markus","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Markus","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"ddbce65c-65fd-42a9-be30-253e244c3f36","displayName":"OP
+ Owner"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"5ea9a363-3a24-4fab-b9ae-cef9a25a3156,20\"","id":"5ea9a363-3a24-4fab-b9ae-cef9a25a3156","name":"Marcello
+ VCR","[email protected]":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.list)(''5ea9a363-3a24-4fab-b9ae-cef9a25a3156'')/drive/$entity","drive":{"createdDateTime":"2025-04-07T12:02:17Z","description":"","id":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","lastModifiedDateTime":"2025-08-05T16:12:54Z","name":"Marcello
+ (VCR)","webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR","driveType":"documentLibrary","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
+ Schubert"}},"lastModifiedBy":{"user":{"email":"[email protected]","id":"a9023fd0-c421-4695-b83c-bb3ba67708d6","displayName":"OP
+ Member"}},"owner":{"group":{"email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb","displayName":"OP
+ Test Owners"}},"quota":{"deleted":1847,"remaining":27487787000926,"state":"normal","total":27487790694400,"used":3691627}}},{"@odata.etag":"\"da53472d-ec9c-4fb1-b021-d89d3748c8a1,0\"","id":"da53472d-ec9c-4fb1-b021-d89d3748c8a1","name":"wte"},{"@odata.etag":"\"834449c8-dc24-44e0-a59a-e94f9128801c,8\"","id":"834449c8-dc24-44e0-a59a-e94f9128801c","name":"Access
+ Requests"}]}'
+ recorded_at: Fri, 08 Aug 2025 09:54:05 GMT
- request:
method: get
uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/data/subfolder:/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference
@@ -94,19 +174,19 @@ http_interactions:
Strict-Transport-Security:
- max-age=31536000
Request-Id:
- - f211d1e3-6605-48ca-a5c3-da65365cf64a
+ - 9366b464-3472-4640-9cbe-bdb92651fba2
Client-Request-Id:
- - f211d1e3-6605-48ca-a5c3-da65365cf64a
+ - 9366b464-3472-4640-9cbe-bdb92651fba2
X-Ms-Ags-Diagnostic:
- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000D30"}}'
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000E3E"}}'
Splogid:
- - 6978b6a1-80e8-0000-7534-c9cde828a2ae
+ - 6eb4b9a1-90fa-0000-7a8c-c933d167b011
Date:
- - Tue, 29 Jul 2025 08:43:23 GMT
+ - Fri, 08 Aug 2025 09:54:04 GMT
body:
encoding: UTF-8
string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"@odata.etag":"\"{8807A6EC-1B00-49B5-81A6-0DCD64A6BCC3},1\"","createdBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"id":"01ANJ53W7MUYDYQAA3WVEYDJQNZVSKNPGD","lastModifiedBy":{"user":{"email":"[email protected]","id":"5b5a7dc4-4539-41ba-9fa9-100f0a26acb7","displayName":"Eric
Schubert"}},"name":"fw13-easy-effects.json","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW","id":"01ANJ53W6DBDYX553L4REYNOMUI6XVMTO6","name":"subfolder","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY9jo6leJDqrT7muzvmiWjFW/root:/data/subfolder","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20VCR/data/subfolder/fw13-easy-effects.json","file":{"hashes":{"quickXorHash":"eA5sv9rqGJI/2/SvuRJJKwFOOw8="},"mimeType":"application/json"},"fileSystemInfo":{"createdDateTime":"2025-07-28T15:06:31Z","lastModifiedDateTime":"2025-07-28T15:06:31Z"},"size":11845}]}'
- recorded_at: Tue, 29 Jul 2025 08:43:23 GMT
+ recorded_at: Fri, 08 Aug 2025 09:54:05 GMT
recorded_with: VCR 6.3.1