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

[#64196] Sharepoint Set Permissions Command

Pavel Balashou940f25271f04
diff --git a/modules/storages/app/common/storages/adapters/providers/sharepoint/commands/set_permissions_command.rb b/modules/storages/app/common/storages/adapters/providers/sharepoint/commands/set_permissions_command.rb
new file mode 100644
index 00000000000..fa6bd0090d3
--- /dev/null
+++ b/modules/storages/app/common/storages/adapters/providers/sharepoint/commands/set_permissions_command.rb
@@ -0,0 +1,185 @@
+# frozen_string_literal: true
+
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+module Storages
+ module Adapters
+ module Providers
+ module Sharepoint
+ module Commands
+ class SetPermissionsCommand < Base
+ include Dry::Monads::Do.for(:call)
+
+ PermissionUpdateData = ::Data.define(:role,
+ :permission_ids,
+ :user_ids,
+ :drive_id,
+ :item_id) do
+ def create? = permission_ids.empty? && user_ids.any?
+
+ def delete? = permission_ids.any? && user_ids.empty?
+
+ def update? = permission_ids.any? && user_ids.any?
+ end
+
+ PermissionFilter = lambda do |role, permission|
+ next unless permission[:roles].member?(role)
+
+ permission[:id]
+ end.curry
+
+ private_constant :PermissionFilter, :PermissionUpdateData
+
+ # @param auth_strategy [AuthenticationStrategy] The authentication strategy to use.
+ # @param input_data [Inputs::SetPermissions] The data needed for setting permissions, containing the file id
+ # and the permissions for an array of users.
+ def call(auth_strategy:, input_data:)
+ with_tagged_logger do
+ Authentication[auth_strategy].call(storage: @storage) do |http|
+ info "Checking if file #{input_data.file_id} exists"
+ split_identifier(input_data.file_id) => { drive_id:, location: item_id }
+ yield drive_item_query.call(http:, drive_id:, item_id:)
+
+ info "Getting current permissions for #{item_id}"
+ current_permissions = yield(
+ handle_response(http.get(permissions_path(drive_id, item_id))).fmap do |result|
+ extract_permission_ids(result[:value])
+ end
+ )
+
+ info "Read and write permissions found: #{current_permissions}"
+
+ role_to_user_map(input_data).each_pair do |role, user_ids|
+ update_data = PermissionUpdateData.new(role:,
+ user_ids:,
+ permission_ids: current_permissions[role],
+ drive_id:,
+ item_id:)
+
+ delete_permissions(update_data, http) if update_data.delete?
+ create_permissions(update_data, http) if update_data.create?
+ update_permissions(update_data, http) if update_data.update?
+ end
+
+ Success()
+ end
+ end
+ end
+
+ private
+
+ def drive_item_query
+ @drive_item_query ||= Queries::Internal::DriveItemQuery.new(@storage)
+ end
+
+ def role_to_user_map(input_data)
+ input_data.user_permissions
+ .each_with_object({ read: [], write: [] }) do |user_permission_set, map|
+ if user_permission_set[:permissions].include?(:write_files)
+ map[:write] << user_permission_set[:user_id]
+ elsif user_permission_set[:permissions].include?(:read_files)
+ map[:read] << user_permission_set[:user_id]
+ end
+ end
+ end
+
+ def update_permissions(update_data, http)
+ info "Updating permissions on #{update_data.item_id}"
+ delete_permissions(update_data, http)
+ create_permissions(update_data, http)
+ end
+
+ def create_permissions(update_data, http)
+ drive_recipients = update_data.user_ids.map { |id| { objectId: id } }
+
+ info "Creating #{update_data.role} permissions on #{update_data.item_id} for #{drive_recipients}"
+ response = http.post(invite_path(update_data.drive_id, update_data.item_id),
+ json: {
+ requireSignIn: true,
+ sendInvitation: false,
+ roles: [update_data.role],
+ recipients: drive_recipients
+ })
+
+ handle_response(response).or { |error| log_storage_error(error) }
+ end
+
+ def delete_permissions(update_data, http)
+ info "Removing permissions on #{update_data.item_id}"
+
+ update_data.permission_ids.each do |permission_id|
+ handle_response(
+ http.delete(permission_path(update_data.drive_id, update_data.item_id, permission_id))
+ ).or { |error| log_storage_error(error) }
+ end
+ end
+
+ def extract_permission_ids(permission_set)
+ write_permissions = permission_set.filter_map(&PermissionFilter.call("write"))
+ read_permissions = permission_set.filter_map(&PermissionFilter.call("read"))
+
+ { read: read_permissions, write: write_permissions }
+ end
+
+ def handle_response(response)
+ error = Results::Error.new(payload: response, source: self.class)
+
+ case response
+ in { status: 200 }
+ Success(response.json(symbolize_keys: true))
+ in { status: 204 }
+ Success(result: response)
+ in { status: 400 }
+ Failure(error.with(code: :bad_request))
+ in { status: 401 }
+ Failure(error.with(code: :unauthorized))
+ in { status: 403 }
+ Failure(error.with(code: :forbidden))
+ in { status: 404 }
+ Failure(error.with(code: :not_found))
+ else
+ Failure(error.with(code: :error))
+ end
+ end
+
+ def permission_path(drive_id, item_id, permission_id) = "#{permissions_path(drive_id, item_id)}/#{permission_id}"
+
+ def permissions_path(drive_id, item_id) = "#{item_path(drive_id, item_id)}/permissions"
+
+ def invite_path(drive_id, item_id) = "#{item_path(drive_id, item_id)}/invite"
+
+ def item_path(drive_id, item_id)
+ UrlBuilder.url(base_uri, "/v1.0/drives", drive_id, "/items", item_id)
+ end
+ end
+ end
+ end
+ end
+ end
+end
diff --git a/modules/storages/app/common/storages/adapters/providers/sharepoint/sharepoint_registry.rb b/modules/storages/app/common/storages/adapters/providers/sharepoint/sharepoint_registry.rb
index ef6f338cb97..24c667f9108 100644
--- a/modules/storages/app/common/storages/adapters/providers/sharepoint/sharepoint_registry.rb
+++ b/modules/storages/app/common/storages/adapters/providers/sharepoint/sharepoint_registry.rb
@@ -41,6 +41,8 @@ module Storages
namespace("commands") do
register(:create_folder, Commands::CreateFolderCommand)
register(:delete_folder, Commands::DeleteFolderCommand)
+ register(:create_list, Commands::CreateListCommand)
+ register(:set_permissions, Commands::SetPermissionsCommand)
end
namespace("components") do
diff --git a/modules/storages/spec/common/storages/adapters/providers/sharepoint/commands/set_permissions_command_spec.rb b/modules/storages/spec/common/storages/adapters/providers/sharepoint/commands/set_permissions_command_spec.rb
new file mode 100644
index 00000000000..4d241f95966
--- /dev/null
+++ b/modules/storages/spec/common/storages/adapters/providers/sharepoint/commands/set_permissions_command_spec.rb
@@ -0,0 +1,181 @@
+# frozen_string_literal: true
+
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+require "spec_helper"
+require_module_spec_helper
+
+module Storages
+ module Adapters
+ module Providers
+ module Sharepoint
+ module Commands
+ RSpec.describe SetPermissionsCommand, :webmock do
+ let(:storage) do
+ create(:sharepoint_storage, :sandbox)
+ end
+
+ let(:auth_strategy) { Adapters::Registry.resolve("sharepoint.authentication.userless")[false] }
+ let(:test_folder_data) do
+ Input::CreateFolder.build(folder_name: "Permission Test Folder", parent_location: base_drive).value!
+ end
+
+ let(:test_folder) do
+ Registry.resolve("sharepoint.commands.create_folder").call(storage:, auth_strategy:,
+ input_data: test_folder_data).value!
+ end
+
+ let(:base_drive) { "b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX" }
+
+ it_behaves_like "adapter set_permissions_command: basic command setup"
+
+ context "if folder does not exists", vcr: "sharepoint/set_permissions_not_found_folder" do
+ let(:error_source) { Queries::Internal::DriveItemQuery }
+ let(:input_data) { permission_input_data("#{base_drive}:THIS_IS_NOT_THE_FOLDER_YOURE_LOOKING_FOR", []) }
+
+ it_behaves_like "adapter set_permissions_command: not found"
+ end
+
+ context "if a write roles is already set" do
+ def current_remote_permissions
+ permission_list_from_role("write")
+ end
+
+ context "and new write permissions should be set", vcr: "sharepoint/set_permissions_replace_permissions_write" do
+ let(:previous_permissions) { [{ user_id: "3d47face-c45f-40c9-bf35-a9ae2e95a5e4", permissions: [:write_files] }] }
+ let(:replacing_permissions) { [{ user_id: "ff8a41f8-62e8-43bf-a873-8857f49a68d0", permissions: [:write_files] }] }
+
+ it_behaves_like "adapter set_permissions_command: replaces already set permissions"
+ end
+
+ context "and they should get deleted", vcr: "sharepoint/set_permissions_delete_permission_write" do
+ let(:previous_permissions) { [{ user_id: "3d47face-c45f-40c9-bf35-a9ae2e95a5e4", permissions: [:write_files] }] }
+ let(:replacing_permissions) { [] }
+
+ it_behaves_like "adapter set_permissions_command: replaces already set permissions"
+ end
+ end
+
+ context "if a read roles is already set" do
+ def current_remote_permissions
+ permission_list_from_role("read")
+ end
+
+ context "and new read permissions should be set", vcr: "sharepoint/set_permissions_replace_permissions_read" do
+ let(:previous_permissions) { [{ user_id: "3d47face-c45f-40c9-bf35-a9ae2e95a5e4", permissions: [:read_files] }] }
+ let(:replacing_permissions) { [{ user_id: "ff8a41f8-62e8-43bf-a873-8857f49a68d0", permissions: [:read_files] }] }
+
+ it_behaves_like "adapter set_permissions_command: replaces already set permissions"
+ end
+
+ context "and they should get deleted", vcr: "sharepoint/set_permissions_delete_permission_read" do
+ let(:previous_permissions) { [{ user_id: "ff8a41f8-62e8-43bf-a873-8857f49a68d0", permissions: [:read_files] }] }
+ let(:replacing_permissions) { [] }
+
+ it_behaves_like "adapter set_permissions_command: replaces already set permissions"
+ end
+ end
+
+ context "if no write permission exists", vcr: "sharepoint/set_permissions_create_permission_write" do
+ let(:user_permissions) { [{ user_id: "ff8a41f8-62e8-43bf-a873-8857f49a68d0", permissions: [:write_files] }] }
+
+ def current_remote_permissions
+ permission_list_from_role("write")
+ end
+
+ it_behaves_like "adapter set_permissions_command: creates new permissions"
+ end
+
+ context "if no read permission exists", vcr: "sharepoint/set_permissions_create_permission_read" do
+ let(:user_permissions) { [{ user_id: "326da073-3c9c-4034-b8c1-ec0803d0d8e3", permissions: [:read_files] }] }
+
+ def current_remote_permissions
+ permission_list_from_role("read")
+ end
+
+ it_behaves_like "adapter set_permissions_command: creates new permissions"
+ end
+
+ context "if a timeout occurs" do
+ it "logs an error", vcr: "sharepoint/set_permissions_delete_permission_read" do
+ stub_request_with_timeout(:post, /invite$/)
+ allow(Rails.logger).to receive(:error)
+
+ user_permissions = [{ user_id: "d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce", permissions: [:read_files] }]
+ input_data = permission_input_data(test_folder.id, user_permissions)
+ described_class.call(storage:, auth_strategy:, input_data:)
+
+ expect(Rails.logger).to have_received(:error).with(
+ error_code: :error,
+ data: %r{timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}
+ ).once
+ end
+ end
+
+ private
+
+ def permission_input_data(file_id, user_permissions)
+ Input::SetPermissions.build(file_id:, user_permissions:).value!
+ end
+
+ def clean_up(file_id)
+ Input::DeleteFolder.build(location: file_id).bind do |input_data|
+ Registry.resolve("sharepoint.commands.delete_folder").call(storage:, auth_strategy:, input_data:).value!
+ end
+ end
+
+ def permission_list_from_role(role)
+ perm = role == "write" ? :write_files : :read_files
+
+ remote_permissions
+ .select { |item| item[:roles].first == role }
+ .map { |grant| grant.dig(:grantedToV2, :user, :id) }
+ .map { |id| { user_id: id, permissions: [perm] } }
+ end
+
+ def remote_permissions
+ Authentication[auth_strategy].call(storage:) do |http|
+ drive_id, item_id = test_folder.id.to_s.split(":")
+ http.get(UrlBuilder.url(storage.uri,
+ "/v1.0/drives",
+ drive_id,
+ "/items",
+ item_id,
+ "/permissions"))
+ .raise_for_status
+ .json(symbolize_keys: true)
+ .fetch(:value)
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+end
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_create_permission_read.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_create_permission_read.yml
new file mode 100644
index 00000000000..32024de94e6
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_create_permission_read.yml
@@ -0,0 +1,724 @@
+---
+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.6.0
+ 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:
+ - 054b3692-2ea0-48a7-9fdb-1a842af93600
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-X5pUAn0t-hcJCMChP7pv_g'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AjBIcHmDh5ZNhPz90ywpyeRZ-dCOAQAAAK2DbOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:42:06 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:42:06 GMT
+ Content-Length:
+ - '1931'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:42:06 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root/children
+ body:
+ encoding: UTF-8
+ string: '{"name":"Permission Test Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '88'
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 201
+ message: Created
+ 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
+ Etag:
+ - '"{751FCF15-97C4-4C63-8BD9-37142B9695F6},1"'
+ Location:
+ - https://ymt6d.sharepoint.com/_api/v2.0/drives('b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX')/items('root')/children('01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW')
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 17668664-302b-4ad4-88bc-330e5f766aaf
+ Client-Request-Id:
+ - 17668664-302b-4ad4-88bc-330e5f766aaf
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF000002C3"}}'
+ Splogid:
+ - 267ecaa1-9029-0000-83a4-abbb84766f03
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:42:06 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/root/children/$entity","@odata.etag":"\"{751FCF15-97C4-4C63-8BD9-37142B9695F6},1\"","eTag":"\"{751FCF15-97C4-4C63-8BD9-37142B9695F6},1\"","lastModifiedDateTime":"2025-09-29T13:42:07Z","createdDateTime":"2025-09-29T13:42:07Z","id":"01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW","name":"Permission
+ Test Folder","size":0,"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{751FCF15-97C4-4C63-8BD9-37142B9695F6},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OP
+ Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"lastModifiedBy":{"application":{"displayName":"OP Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"parentReference":{"driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","driveType":"documentLibrary","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","sharepointIds":{"listId":"87d67c02-fdaf-4504-8b39-920984585ad7","listItemUniqueId":"458e6945-3722-40b1-946f-4743a2d480f2","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff","siteUrl":"https://ymt6d.sharepoint.com/sites/OPTest","tenantId":"e36f1dbc-fdae-427e-b61b-0d96ddfb81a4","webId":"6af246f0-e3be-45ef-b91a-8eca4dcc5d8f"}},"fileSystemInfo":{"createdDateTime":"2025-09-29T13:42:07Z","lastModifiedDateTime":"2025-09-29T13:42:07Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'
+ recorded_at: Mon, 29 Sep 2025 13:42:07 GMT
+- 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.6.0
+ 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:
+ - e2d404cb-ee44-44cb-a823-b0a29b8a5700
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-wo0W1loevgZeHyXOJTWFbA'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AqZOAiihKIRPrDWHLOu5h_1Z-dCOAQAAAK-DbOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:42: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:
+ - Mon, 29 Sep 2025 13:42:06 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: Mon, 29 Sep 2025 13:42:07 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - f9f9e9eb-68f4-49d7-9b5f-6566404fd35c
+ Client-Request-Id:
+ - f9f9e9eb-68f4-49d7-9b5f-6566404fd35c
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000580"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 267ecaa1-b062-0000-83a4-a68060dec0a1
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:42:06 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:42:07 GMT
+- 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.6.0
+ 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:
+ - a22af1f8-8158-48ea-a7a9-a84122615000
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-OUFh0257PwtZ0oV9r1K4Ng'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Akwrn991wAVEuouJ9a_BTGFZ-dCOAQAAAK-DbOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:42:08 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:42:07 GMT
+ Content-Length:
+ - '1937'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:42:08 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - fea0f8ff-c511-413d-a2e9-ce9424ea55da
+ Client-Request-Id:
+ - fea0f8ff-c511-413d-a2e9-ce9424ea55da
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000F2C"}}'
+ Splogid:
+ - 267ecaa1-808f-0000-83a4-aa76d8e7f938
+ Date:
+ - Mon, 29 Sep 2025 13:42:07 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:42:07Z","eTag":"\"{751FCF15-97C4-4C63-8BD9-37142B9695F6},2\"","id":"01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:42:08Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{751FCF15-97C4-4C63-8BD9-37142B9695F6},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:42:07Z","lastModifiedDateTime":"2025-09-29T13:42:08Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:42:08 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - dd642795-52da-4e03-8e0c-10a5b1ec5854
+ Client-Request-Id:
+ - dd642795-52da-4e03-8e0c-10a5b1ec5854
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000F2C"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 267ecaa1-409c-0000-8a5a-65f745e2c8a1
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:42:08 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:42:08 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["read"],"recipients":[{"objectId":"326da073-3c9c-4034-b8c1-ec0803d0d8e3"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '129'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 7e51462a-05d8-45f9-bf69-8ed9f97d215b
+ Client-Request-Id:
+ - 7e51462a-05d8-45f9-bf69-8ed9f97d215b
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000F2C"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 267ecaa1-e0a9-0000-83a4-a96eb28ca084
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:42:08 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8YWxleHdAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Alex
+ Wilber","email":"[email protected]","id":"326da073-3c9c-4034-b8c1-ec0803d0d8e3"}},"grantedTo":{"user":{"displayName":"Alex
+ Wilber","email":"[email protected]","id":"326da073-3c9c-4034-b8c1-ec0803d0d8e3"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:42:09 GMT
+- 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.6.0
+ 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:
+ - 3e790f50-cfb0-498e-a164-85d7a8f9ae00
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-h4x7pL_7kaS0sAER_3aKxQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AsMXXhwp9xpNhE1VVpsmyIdZ-dCOAQAAALCDbOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:42:09 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:42:08 GMT
+ Content-Length:
+ - '1940'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:42:09 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 262e3c3b-acaa-4cfc-944e-99a51e6bcc0d
+ Client-Request-Id:
+ - 262e3c3b-acaa-4cfc-944e-99a51e6bcc0d
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000449"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 267ecaa1-20e7-0000-8a5a-62f048964384
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:42:09 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8YWxleHdAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8YWxleHdAeW10NmQub25taWNyb3NvZnQuY29t","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Alex
+ Wilber","email":"[email protected]","id":"326da073-3c9c-4034-b8c1-ec0803d0d8e3"},"siteUser":{"displayName":"Alex
+ Wilber","email":"[email protected]","id":"21","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Alex
+ Wilber","email":"[email protected]","id":"326da073-3c9c-4034-b8c1-ec0803d0d8e3"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:42:10 GMT
+- 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.6.0
+ 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:
+ - 0aafba20-38ec-4390-9707-04cdf0cf0e00
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-fYAwOqyKT1DHlyIwJYbZgA'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=As5X5az97vJAiLr-0n7-nltZ-dCOAQAAALGDbOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:42:10 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:42:10 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: Mon, 29 Sep 2025 13:42:10 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53WYVZ4PXLREXMNGIXWJXCQVZNFPW
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - d9c17450-cdc4-480b-a3c7-263569b0033b
+ Client-Request-Id:
+ - d9c17450-cdc4-480b-a3c7-263569b0033b
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF000002E8"}}'
+ Splogid:
+ - 277ecaa1-f019-0000-83a4-aebb3ebfd8a7
+ Date:
+ - Mon, 29 Sep 2025 13:42:10 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:42:10 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_create_permission_write.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_create_permission_write.yml
new file mode 100644
index 00000000000..5e3d58a188b
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_create_permission_write.yml
@@ -0,0 +1,724 @@
+---
+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.6.0
+ 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:
+ - 8b9140bf-49fc-4608-86b2-eb02be7aa300
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-W8Lknc-OPTbrHXn9v46QYQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AtYNgR6k5p1AqvqSJ3JqQ-BZ-dCOAQAAAHJ_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:24: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:
+ - Mon, 29 Sep 2025 13:24:02 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: Mon, 29 Sep 2025 13:24:03 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root/children
+ body:
+ encoding: UTF-8
+ string: '{"name":"Permission Test Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '88'
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 201
+ message: Created
+ 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
+ Etag:
+ - '"{3C0337FA-F81A-476F-973C-FF760305191A},1"'
+ Location:
+ - https://ymt6d.sharepoint.com/_api/v2.0/drives('b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX')/items('root')/children('01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2')
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 0547cfbc-b204-467f-956c-f5a2f0a62db6
+ Client-Request-Id:
+ - 0547cfbc-b204-467f-956c-f5a2f0a62db6
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF000007A8"}}'
+ Splogid:
+ - 1d7dcaa1-90c3-0000-8a5a-6bd2d2376457
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:24:03 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/root/children/$entity","@odata.etag":"\"{3C0337FA-F81A-476F-973C-FF760305191A},1\"","eTag":"\"{3C0337FA-F81A-476F-973C-FF760305191A},1\"","lastModifiedDateTime":"2025-09-29T13:24:04Z","createdDateTime":"2025-09-29T13:24:04Z","id":"01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2","name":"Permission
+ Test Folder","size":0,"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{3C0337FA-F81A-476F-973C-FF760305191A},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OP
+ Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"lastModifiedBy":{"application":{"displayName":"OP Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"parentReference":{"driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","driveType":"documentLibrary","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","sharepointIds":{"listId":"87d67c02-fdaf-4504-8b39-920984585ad7","listItemUniqueId":"458e6945-3722-40b1-946f-4743a2d480f2","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff","siteUrl":"https://ymt6d.sharepoint.com/sites/OPTest","tenantId":"e36f1dbc-fdae-427e-b61b-0d96ddfb81a4","webId":"6af246f0-e3be-45ef-b91a-8eca4dcc5d8f"}},"fileSystemInfo":{"createdDateTime":"2025-09-29T13:24:04Z","lastModifiedDateTime":"2025-09-29T13:24:04Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'
+ recorded_at: Mon, 29 Sep 2025 13:24:04 GMT
+- 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.6.0
+ 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:
+ - 6b8d9402-0fbd-4fe4-aa42-50ec333c5500
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-Va8IYaLtveGbkl93CHqfQQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AnzPDkOirh5Jky9-yGpIYHZZ-dCOAQAAAHR_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:24: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:
+ - Mon, 29 Sep 2025 13:24:03 GMT
+ Content-Length:
+ - '1931'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:24:04 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - ff357353-3474-4b64-aa4a-e6bc10143353
+ Client-Request-Id:
+ - ff357353-3474-4b64-aa4a-e6bc10143353
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF0000102D"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 1d7dcaa1-00f4-0000-83a4-a7b156941fe5
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:24:04 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:24:04 GMT
+- 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.6.0
+ 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:
+ - af9607e8-d1c4-42f1-81a4-94909fb30400
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-NfNJPCpexxQVMgdaMnkFSg'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AqPp7sf2SRZGsHPbSWpo_AxZ-dCOAQAAAHR_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:24:05 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:24:04 GMT
+ Content-Length:
+ - '1925'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:24:05 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - ba588357-3773-4fc8-8cc4-338ec546358d
+ Client-Request-Id:
+ - ba588357-3773-4fc8-8cc4-338ec546358d
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF00000B9D"}}'
+ Splogid:
+ - 1e7dcaa1-601c-0000-83a4-afd339e0db17
+ Date:
+ - Mon, 29 Sep 2025 13:24:04 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:24:04Z","eTag":"\"{3C0337FA-F81A-476F-973C-FF760305191A},2\"","id":"01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:24:05Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{3C0337FA-F81A-476F-973C-FF760305191A},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:24:04Z","lastModifiedDateTime":"2025-09-29T13:24:05Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:24:05 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - cf9a63d3-3fd7-4229-a3bb-f66d5ef8ecd0
+ Client-Request-Id:
+ - cf9a63d3-3fd7-4229-a3bb-f66d5ef8ecd0
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF00000B9D"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 1e7dcaa1-0028-0000-83a4-a69d932bbc5b
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:24:04 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:24:05 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '130'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 7cbaca3e-fb13-4d07-b854-1877b761a609
+ Client-Request-Id:
+ - 7cbaca3e-fb13-4d07-b854-1877b761a609
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF00000B9D"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 1e7dcaa1-b038-0000-83a4-a2f706989231
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:24:05 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["write"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:24:06 GMT
+- 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.6.0
+ 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:
+ - 809b5893-2b7b-4ba7-8ed3-15554cf8d700
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-UVjAZGNKSQOxvb_uK2GDfQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AnNhT4o8ogFEkRx2IzmtpVZZ-dCOAQAAAHV_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:24:06 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:24:06 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: Mon, 29 Sep 2025 13:24:06 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - ff4d86c8-cda7-4c47-942b-92a05a56830d
+ Client-Request-Id:
+ - ff4d86c8-cda7-4c47-942b-92a05a56830d
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF0000102F"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 1e7dcaa1-7070-0000-8a5a-67887cc867b7
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:24:05 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["write"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"},"siteUser":{"displayName":"Cecile
+ Guiot","id":"20","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:24:06 GMT
+- 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.6.0
+ 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:
+ - 5462265e-9cc7-4c31-b895-ceef15fa0600
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-EnZz7GLdbW1CwH15i-9wuQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Aq5ulHp1l0RBsC__cm1jB2VZ-dCOAQAAAHZ_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:24: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:
+ - Mon, 29 Sep 2025 13:24:06 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: Mon, 29 Sep 2025 13:24:07 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W72G4BTYGXYN5DZOPH7OYBQKGI2
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 423159fb-cd44-4b0d-ab03-a29b88c15fed
+ Client-Request-Id:
+ - 423159fb-cd44-4b0d-ab03-a29b88c15fed
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF000039FC"}}'
+ Splogid:
+ - 1e7dcaa1-b09a-0000-83a4-a41dd09504d4
+ Date:
+ - Mon, 29 Sep 2025 13:24:06 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:24:07 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_delete_permission_read.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_delete_permission_read.yml
new file mode 100644
index 00000000000..9755214b136
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_delete_permission_read.yml
@@ -0,0 +1,945 @@
+---
+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.6.0
+ 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:
+ - 8950e848-5727-4eb0-98ed-7455f93cf701
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-BMPAOquKRyiMejsg28_D4w'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AhKoHhav3dNNuPMJkLjiNBJZ-dCOAQAAAAN_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22: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:
+ - Mon, 29 Sep 2025 13:22:11 GMT
+ Content-Length:
+ - '1935'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:11 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root/children
+ body:
+ encoding: UTF-8
+ string: '{"name":"Permission Test Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '88'
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 201
+ message: Created
+ 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
+ Etag:
+ - '"{513C04C1-BB8C-4865-92CB-7298D3D7132A},1"'
+ Location:
+ - https://ymt6d.sharepoint.com/_api/v2.0/drives('b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX')/items('root')/children('01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK')
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 42d17b8c-221d-4939-9b62-a68e449ea047
+ Client-Request-Id:
+ - 42d17b8c-221d-4939-9b62-a68e449ea047
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000396"}}'
+ Splogid:
+ - 027dcaa1-b067-0000-83a4-af369fa66ab4
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:11 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/root/children/$entity","@odata.etag":"\"{513C04C1-BB8C-4865-92CB-7298D3D7132A},1\"","eTag":"\"{513C04C1-BB8C-4865-92CB-7298D3D7132A},1\"","lastModifiedDateTime":"2025-09-29T13:22:12Z","createdDateTime":"2025-09-29T13:22:12Z","id":"01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK","name":"Permission
+ Test Folder","size":0,"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{513C04C1-BB8C-4865-92CB-7298D3D7132A},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OP
+ Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"lastModifiedBy":{"application":{"displayName":"OP Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"parentReference":{"driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","driveType":"documentLibrary","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","sharepointIds":{"listId":"87d67c02-fdaf-4504-8b39-920984585ad7","listItemUniqueId":"458e6945-3722-40b1-946f-4743a2d480f2","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff","siteUrl":"https://ymt6d.sharepoint.com/sites/OPTest","tenantId":"e36f1dbc-fdae-427e-b61b-0d96ddfb81a4","webId":"6af246f0-e3be-45ef-b91a-8eca4dcc5d8f"}},"fileSystemInfo":{"createdDateTime":"2025-09-29T13:22:12Z","lastModifiedDateTime":"2025-09-29T13:22:12Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'
+ recorded_at: Mon, 29 Sep 2025 13:22:11 GMT
+- 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.6.0
+ 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:
+ - 83d219d3-7c67-4eb4-ba8d-897e2acf7601
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-B9dxJ3OUaYH-tQ4_A1rpFw'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Avrq2YViimJOktGyFNey5DRZ-dCOAQAAAAN_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:12 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:12 GMT
+ Content-Length:
+ - '1940'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:12 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 0ede6efe-2d61-4605-89b7-26dde5052d4a
+ Client-Request-Id:
+ - 0ede6efe-2d61-4605-89b7-26dde5052d4a
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7E"}}'
+ Splogid:
+ - 027dcaa1-4090-0000-8a5a-6450d44cde6b
+ Date:
+ - Mon, 29 Sep 2025 13:22:11 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:22:12Z","eTag":"\"{513C04C1-BB8C-4865-92CB-7298D3D7132A},2\"","id":"01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:22:12Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{513C04C1-BB8C-4865-92CB-7298D3D7132A},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:22:12Z","lastModifiedDateTime":"2025-09-29T13:22:12Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:22:12 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - bee59ce6-1d7e-48c6-87df-c73586b8356a
+ Client-Request-Id:
+ - bee59ce6-1d7e-48c6-87df-c73586b8356a
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7E"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 027dcaa1-909a-0000-83a4-a8d821e96275
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:12 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:12 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["read"],"recipients":[{"objectId":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '129'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 82974438-9a12-448d-a57c-e17ab8430365
+ Client-Request-Id:
+ - 82974438-9a12-448d-a57c-e17ab8430365
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7E"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 027dcaa1-b0a6-0000-8a5a-6313dd79844a
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:12 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:13 GMT
+- 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.6.0
+ 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:
+ - 49ade4d0-cbbc-48b5-a480-d7d2c8ca1500
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-FW3FoFrVb7rXCF0J8gM9Ig'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AtLOdjWh7gpHm1vuykpzoeZZ-dCOAQAAAAR_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:13 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:12 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: Mon, 29 Sep 2025 13:22:13 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 4dfd0258-851f-4aee-8bf9-2d578e53022f
+ Client-Request-Id:
+ - 4dfd0258-851f-4aee-8bf9-2d578e53022f
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF000003B9"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 027dcaa1-60da-0000-8a5a-69f68ad3f20c
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:13 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"},"siteUser":{"displayName":"Cecile
+ Guiot","id":"20","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:13 GMT
+- 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.6.0
+ 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:
+ - 377de037-a195-4b79-a22e-a1eeb504bc00
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-R9DsDirtzMzQImMc47BAGg'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Ai4CfDSnbtlOjoFBn9CU54lZ-dCOAQAAAAV_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:14 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:13 GMT
+ Content-Length:
+ - '1935'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:14 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 07d0ef66-f674-44a0-9c6e-79156f392dfb
+ Client-Request-Id:
+ - 07d0ef66-f674-44a0-9c6e-79156f392dfb
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF0000039E"}}'
+ Splogid:
+ - 037dcaa1-d009-0000-83a4-a32022b170e4
+ Date:
+ - Mon, 29 Sep 2025 13:22:14 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:22:12Z","eTag":"\"{513C04C1-BB8C-4865-92CB-7298D3D7132A},2\"","id":"01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:22:12Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{513C04C1-BB8C-4865-92CB-7298D3D7132A},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:22:12Z","lastModifiedDateTime":"2025-09-29T13:22:12Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:22:14 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 664352c0-261c-4d5a-acd3-2436da018ffe
+ Client-Request-Id:
+ - 664352c0-261c-4d5a-acd3-2436da018ffe
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF0000039E"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 037dcaa1-3012-0000-83a4-a6a81fa6155a
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:14 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"},"siteUser":{"displayName":"Cecile
+ Guiot","id":"20","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:14 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK/permissions/aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 54906fe9-31f7-4487-a458-edbe120662c7
+ Client-Request-Id:
+ - 54906fe9-31f7-4487-a458-edbe120662c7
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF0000039E"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 037dcaa1-501e-0000-83a4-a726d24dd13d
+ Date:
+ - Mon, 29 Sep 2025 13:22:14 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:22:14 GMT
+- 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.6.0
+ 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:
+ - 65fd6bac-5a28-4ab2-9fd1-2422a5c88300
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-rn83KuIsPnrvldZwkS6UNg'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AjcsRlCbYltJvjPxQuMmVrpZ-dCOAQAAAAZ_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:15 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:14 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: Mon, 29 Sep 2025 13:22:15 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 8c11e3ac-c04b-4d0e-b329-aa77b6fe043a
+ Client-Request-Id:
+ - 8c11e3ac-c04b-4d0e-b329-aa77b6fe043a
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000EB9"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 037dcaa1-2044-0000-83a4-a1a9a408a2b1
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:14 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:15 GMT
+- 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.6.0
+ 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:
+ - 9d69daa2-eba3-4215-a415-e3fd91fc8e00
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-_00Zj9i1dODZj-N2xVgKpA'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AqHh86LxzAVLpb68_gnWNy5Z-dCOAQAAAAd_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:15 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:15 GMT
+ Content-Length:
+ - '1940'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:15 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6BAQ6FDDF3MVEJFS3STDJ5OEZK
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - d9474805-dd04-4919-b4f1-2f7a16ed0d3f
+ Client-Request-Id:
+ - d9474805-dd04-4919-b4f1-2f7a16ed0d3f
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000398"}}'
+ Splogid:
+ - 037dcaa1-4069-0000-83a4-a74b307ac0c1
+ Date:
+ - Mon, 29 Sep 2025 13:22:15 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:22:16 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_delete_permission_write.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_delete_permission_write.yml
new file mode 100644
index 00000000000..15a87fe6090
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_delete_permission_write.yml
@@ -0,0 +1,945 @@
+---
+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.6.0
+ 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:
+ - 5f068d53-13a4-4c10-bb34-78dd426fd300
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-arYEPCyIyj2t0sQu4vJtCQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AtwDsGy_pGxCit_6z9elEZdZ-dCOAQAAAFl-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:19:22 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:19:21 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: Mon, 29 Sep 2025 13:19:22 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root/children
+ body:
+ encoding: UTF-8
+ string: '{"name":"Permission Test Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '88'
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 201
+ message: Created
+ 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
+ Etag:
+ - '"{F523E9D2-4FEF-4177-AE99-A6C965418DCF},1"'
+ Location:
+ - https://ymt6d.sharepoint.com/_api/v2.0/drives('b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX')/items('root')/children('01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP')
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 2e332621-663f-4abd-b80c-92feaef2b4bf
+ Client-Request-Id:
+ - 2e332621-663f-4abd-b80c-92feaef2b4bf
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001E9"}}'
+ Splogid:
+ - d97ccaa1-c004-0000-83a4-ae6965369c51
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:19:21 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/root/children/$entity","@odata.etag":"\"{F523E9D2-4FEF-4177-AE99-A6C965418DCF},1\"","eTag":"\"{F523E9D2-4FEF-4177-AE99-A6C965418DCF},1\"","lastModifiedDateTime":"2025-09-29T13:19:22Z","createdDateTime":"2025-09-29T13:19:22Z","id":"01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP","name":"Permission
+ Test Folder","size":0,"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{F523E9D2-4FEF-4177-AE99-A6C965418DCF},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OP
+ Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"lastModifiedBy":{"application":{"displayName":"OP Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"parentReference":{"driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","driveType":"documentLibrary","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","sharepointIds":{"listId":"87d67c02-fdaf-4504-8b39-920984585ad7","listItemUniqueId":"458e6945-3722-40b1-946f-4743a2d480f2","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff","siteUrl":"https://ymt6d.sharepoint.com/sites/OPTest","tenantId":"e36f1dbc-fdae-427e-b61b-0d96ddfb81a4","webId":"6af246f0-e3be-45ef-b91a-8eca4dcc5d8f"}},"fileSystemInfo":{"createdDateTime":"2025-09-29T13:19:22Z","lastModifiedDateTime":"2025-09-29T13:19:22Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'
+ recorded_at: Mon, 29 Sep 2025 13:19:22 GMT
+- 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.6.0
+ 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:
+ - dae73039-a08d-40b3-b38e-ffeea32d0300
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-EUPt0elNYVQeNZF_ecz7QA'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AhF3nz5gtGZEqIdMfBuEhgFZ-dCOAQAAAFp-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:19:22 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:19:22 GMT
+ Content-Length:
+ - '1933'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:19:22 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 886e86b3-207e-4c64-a792-4aa72e12d1d5
+ Client-Request-Id:
+ - 886e86b3-207e-4c64-a792-4aa72e12d1d5
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000E73"}}'
+ Splogid:
+ - d97ccaa1-b038-0000-8a5a-60e5f8a0ec35
+ Date:
+ - Mon, 29 Sep 2025 13:19:22 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:19:22Z","eTag":"\"{F523E9D2-4FEF-4177-AE99-A6C965418DCF},2\"","id":"01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:19:22Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{F523E9D2-4FEF-4177-AE99-A6C965418DCF},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:19:22Z","lastModifiedDateTime":"2025-09-29T13:19:22Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:19:23 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 5e845b2c-c5fe-46a5-a24f-c877ac7d470e
+ Client-Request-Id:
+ - 5e845b2c-c5fe-46a5-a24f-c877ac7d470e
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000E73"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - d97ccaa1-d043-0000-83a4-a17a6ce900b5
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:19:22 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:19:23 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '130'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - e975201d-73b4-4f08-8c48-450b62f44cdd
+ Client-Request-Id:
+ - e975201d-73b4-4f08-8c48-450b62f44cdd
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000E73"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - d97ccaa1-d05c-0000-8a5a-697afa22d591
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:19:23 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["write"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:19:24 GMT
+- 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.6.0
+ 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:
+ - dab5de32-151c-4e83-baa0-9b17e37fc200
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-jDrMYKlA1fkJ1cOkdI1CuQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AiCjbRiFaJBJk2ijQRqUt2ZZ-dCOAQAAAFt-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:19:24 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:19:24 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: Mon, 29 Sep 2025 13:19:24 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 5b581f39-ecb2-4967-ad00-2f6628a4ee6a
+ Client-Request-Id:
+ - 5b581f39-ecb2-4967-ad00-2f6628a4ee6a
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000400"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - d97ccaa1-f0ac-0000-83a4-a265aa4ca8b8
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:19:24 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["write"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"},"siteUser":{"displayName":"Pavel
+ Balashou 1234","id":"19","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:19:25 GMT
+- 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.6.0
+ 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:
+ - 528f4fc4-6af6-4530-bb6c-902d675b4b00
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-1yLtxOfAKl_IIrgmE-iQiw'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AuUPCochIp1EuXyOd7Npg9tZ-dCOAQAAAF1-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:19:25 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:19:25 GMT
+ Content-Length:
+ - '1937'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:19:25 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 314dfaf9-b91a-40c5-b990-8001d5723572
+ Client-Request-Id:
+ - 314dfaf9-b91a-40c5-b990-8001d5723572
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000003EE"}}'
+ Splogid:
+ - d97ccaa1-80e5-0000-83a4-af59b8e2ea79
+ Date:
+ - Mon, 29 Sep 2025 13:19:25 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:19:22Z","eTag":"\"{F523E9D2-4FEF-4177-AE99-A6C965418DCF},2\"","id":"01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:19:22Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{F523E9D2-4FEF-4177-AE99-A6C965418DCF},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:19:22Z","lastModifiedDateTime":"2025-09-29T13:19:22Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:19:25 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 578c2e36-645c-493a-acc8-ebc7071b17c2
+ Client-Request-Id:
+ - 578c2e36-645c-493a-acc8-ebc7071b17c2
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000003EE"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - d97ccaa1-a0ee-0000-83a4-a3a1111ad126
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:19:25 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["write"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"},"siteUser":{"displayName":"Pavel
+ Balashou 1234","id":"19","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:19:26 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP/permissions/aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 126ca6a4-9d22-49c4-8413-ce6555ed1621
+ Client-Request-Id:
+ - 126ca6a4-9d22-49c4-8413-ce6555ed1621
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000003EE"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - da7ccaa1-9000-0000-8a5a-69d2e342f3ee
+ Date:
+ - Mon, 29 Sep 2025 13:19:25 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:19:26 GMT
+- 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.6.0
+ 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:
+ - 59aab7f5-cd91-4836-89b0-18c21a8f0500
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-bXAzqjMj-33rQxxL-wktkA'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Aif001wQx45CqspThDL-OZBZ-dCOAQAAAF5-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:19:26 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:19:26 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: Mon, 29 Sep 2025 13:19:26 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 960a6f37-53ca-4909-a087-7c3dbfff0dfb
+ Client-Request-Id:
+ - 960a6f37-53ca-4909-a087-7c3dbfff0dfb
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000EB7"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - da7ccaa1-a03e-0000-83a4-a331d4e253d6
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:19:26 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:19:27 GMT
+- 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.6.0
+ 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:
+ - 65e22fa2-8b20-48fd-a3d5-8cf11e3d0600
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-jCkBxEAXqZIMNveapLIG4A'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AtEO-h9HEL9NqUGJQu9Bh6VZ-dCOAQAAAF9-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:19:27 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:19:26 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: Mon, 29 Sep 2025 13:19:27 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W6S5ER7L32PO5A25GNGZFSUDDOP
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 43bd1647-805f-4e21-9221-e937bb77b4d7
+ Client-Request-Id:
+ - 43bd1647-805f-4e21-9221-e937bb77b4d7
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001E6"}}'
+ Splogid:
+ - da7ccaa1-b06b-0000-83a4-a7fcaaace4aa
+ Date:
+ - Mon, 29 Sep 2025 13:19:27 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:19:28 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_not_found_folder.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_not_found_folder.yml
new file mode 100644
index 00000000000..b2c634b32d4
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_not_found_folder.yml
@@ -0,0 +1,115 @@
+---
+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.6.0
+ 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:
+ - 17420124-8fa3-44de-ab5e-a8e1b0180100
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-8pXvm9Krl7ObxkdhPldAMQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=ApAqHX_KwTNJsjQ4tNHbI5pZ-dCOAQAAAMprbOAOAAAA; expires=Wed, 29-Oct-2025
+ 12:00: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:
+ - Mon, 29 Sep 2025 12:00:10 GMT
+ Content-Length:
+ - '1936'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 12:00:11 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/THIS_IS_NOT_THE_FOLDER_YOURE_LOOKING_FOR
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 404
+ message: Not Found
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Encoding:
+ - gzip
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 69b6a0d8-cbc0-425b-9851-7877770d3c16
+ Client-Request-Id:
+ - 69b6a0d8-cbc0-425b-9851-7877770d3c16
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"002","RoleInstance":"FR3PEPF00000364"}}'
+ Splogid:
+ - 5278caa1-f027-0000-83a4-abc47ea62d25
+ Date:
+ - Mon, 29 Sep 2025 12:00:15 GMT
+ body:
+ encoding: UTF-8
+ string: '{"error":{"code":"itemNotFound","message":"Item not found"}}'
+ recorded_at: Mon, 29 Sep 2025 12:00:15 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_replace_permissions_read.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_replace_permissions_read.yml
new file mode 100644
index 00000000000..8521dec16ce
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_replace_permissions_read.yml
@@ -0,0 +1,1009 @@
+---
+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.6.0
+ 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:
+ - cdd10d86-bada-4de6-a226-da9865bfb501
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-eh3mS1sKGO-RxsTsMhCFaw'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AqQltzCXqGJBpAiOPe-lQ_JZ-dCOAQAAAPx-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:05 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:04 GMT
+ Content-Length:
+ - '1935'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:05 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root/children
+ body:
+ encoding: UTF-8
+ string: '{"name":"Permission Test Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '88'
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 201
+ message: Created
+ 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
+ Etag:
+ - '"{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},1"'
+ Location:
+ - https://ymt6d.sharepoint.com/_api/v2.0/drives('b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX')/items('root')/children('01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC')
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 96568aae-8163-4d90-bb64-1912d231332b
+ Client-Request-Id:
+ - 96568aae-8163-4d90-bb64-1912d231332b
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E80"}}'
+ Splogid:
+ - 007dcaa1-60ec-0000-83a4-ac3405f0c0c0
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:05 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/root/children/$entity","@odata.etag":"\"{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},1\"","eTag":"\"{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},1\"","lastModifiedDateTime":"2025-09-29T13:22:06Z","createdDateTime":"2025-09-29T13:22:06Z","id":"01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC","name":"Permission
+ Test Folder","size":0,"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OP
+ Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"lastModifiedBy":{"application":{"displayName":"OP Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"parentReference":{"driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","driveType":"documentLibrary","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","sharepointIds":{"listId":"87d67c02-fdaf-4504-8b39-920984585ad7","listItemUniqueId":"458e6945-3722-40b1-946f-4743a2d480f2","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff","siteUrl":"https://ymt6d.sharepoint.com/sites/OPTest","tenantId":"e36f1dbc-fdae-427e-b61b-0d96ddfb81a4","webId":"6af246f0-e3be-45ef-b91a-8eca4dcc5d8f"}},"fileSystemInfo":{"createdDateTime":"2025-09-29T13:22:06Z","lastModifiedDateTime":"2025-09-29T13:22:06Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'
+ recorded_at: Mon, 29 Sep 2025 13:22:05 GMT
+- 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.6.0
+ 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:
+ - c20187c9-6478-4f84-bcbd-4f54213bb500
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-plSgm5467mkmtJLe7TX5Mw'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AtI6oQic7OlDqI124NsgrzJZ-dCOAQAAAP5-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:06 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:05 GMT
+ Content-Length:
+ - '1935'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:06 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 6b955f5b-7ec9-47df-82ab-88fcda2297f1
+ Client-Request-Id:
+ - 6b955f5b-7ec9-47df-82ab-88fcda2297f1
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E82"}}'
+ Splogid:
+ - 017dcaa1-401b-0000-8a5a-64ef0db0850c
+ Date:
+ - Mon, 29 Sep 2025 13:22:06 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:22:06Z","eTag":"\"{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},2\"","id":"01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:22:06Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:22:06Z","lastModifiedDateTime":"2025-09-29T13:22:06Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:22:06 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - eadbb3cb-ae9b-4c99-b301-855898fd3669
+ Client-Request-Id:
+ - eadbb3cb-ae9b-4c99-b301-855898fd3669
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E82"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 017dcaa1-7029-0000-8a5a-602667cd25dd
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:06 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:06 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["read"],"recipients":[{"objectId":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '129'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 82465b25-6016-4e5e-822d-65c2c4e873b4
+ Client-Request-Id:
+ - 82465b25-6016-4e5e-822d-65c2c4e873b4
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E82"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 017dcaa1-8039-0000-8a5a-6b814f8d5105
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:07 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["read"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:07 GMT
+- 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.6.0
+ 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:
+ - e7cd3120-3f82-467b-abe7-6c25b58b2501
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-Wq5Jx20e6azlEL34qz8QMQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AhOhIHI3MHxFtSoLdebRHflZ-dCOAQAAAP9-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22: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:
+ - Mon, 29 Sep 2025 13:22:07 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: Mon, 29 Sep 2025 13:22:07 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - bfe6f07d-ef73-4bf0-83a3-bc527ecf3164
+ Client-Request-Id:
+ - bfe6f07d-ef73-4bf0-83a3-bc527ecf3164
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000393"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 017dcaa1-3074-0000-83a4-a65a71bbfbc2
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:07 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["read"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"},"siteUser":{"displayName":"Pavel
+ Balashou 1234","id":"19","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:08 GMT
+- 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.6.0
+ 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:
+ - 7d96cb72-5899-4623-8bbd-f49fa402c100
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-uFoSbWqlBKsRXjSBRzOHfg'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AktgmdqflWZLnhVBmkl-a1JZ-dCOAQAAAP9-bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:08 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:07 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: Mon, 29 Sep 2025 13:22:08 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 522308e4-4343-484a-8467-5d8ef5da7bf4
+ Client-Request-Id:
+ - 522308e4-4343-484a-8467-5d8ef5da7bf4
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7B"}}'
+ Splogid:
+ - 017dcaa1-609a-0000-83a4-aee5a9e0728e
+ Date:
+ - Mon, 29 Sep 2025 13:22:07 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:22:06Z","eTag":"\"{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},2\"","id":"01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:22:06Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{267B7389-9D6B-4388-AC2A-0E3BA6D93F02},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:22:06Z","lastModifiedDateTime":"2025-09-29T13:22:06Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:22:08 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - dd74daf5-bebd-42e1-b362-0d14b7f3a3f6
+ Client-Request-Id:
+ - dd74daf5-bebd-42e1-b362-0d14b7f3a3f6
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7B"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 017dcaa1-90a3-0000-83a4-a1760e4cf330
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:08 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["read"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"},"siteUser":{"displayName":"Pavel
+ Balashou 1234","id":"19","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:08 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/permissions/aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 44945b60-b088-49ba-8965-4418e16814fc
+ Client-Request-Id:
+ - 44945b60-b088-49ba-8965-4418e16814fc
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7B"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 017dcaa1-a0be-0000-83a4-af37068e822c
+ Date:
+ - Mon, 29 Sep 2025 13:22:08 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:22:09 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["read"],"recipients":[{"objectId":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '129'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 31b795b7-0d0b-4fff-924b-31c8fd20d9cb
+ Client-Request-Id:
+ - 31b795b7-0d0b-4fff-924b-31c8fd20d9cb
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000E7B"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 017dcaa1-e0d8-0000-83a4-a24619d91c7c
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:09 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:09 GMT
+- 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.6.0
+ 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:
+ - a0a4bae5-ec1d-46fe-83b3-26376cd81700
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-s8ZKvtvnTWzKgzYvWesS7Q'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AmMgffeYexNGuiflElaDlkVZ-dCOAQAAAAJ_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:10 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:09 GMT
+ Content-Length:
+ - '1931'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:10 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 8703c6db-2ec7-40b6-8442-2746a8c7217b
+ Client-Request-Id:
+ - 8703c6db-2ec7-40b6-8442-2746a8c7217b
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000C76"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - 027dcaa1-600e-0000-83a4-a28df800afe2
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:22:10 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["read"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"},"siteUser":{"displayName":"Cecile
+ Guiot","id":"20","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:22:10 GMT
+- 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.6.0
+ 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:
+ - e73b3ac0-4de2-4ed2-89ed-c78d0b056000
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-HV8VTo0HoqZYQZHS9yOK0g'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AjtrDe4aa9RLo8ExbVUsEYhZ-dCOAQAAAAJ_bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:22:10 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:22:10 GMT
+ Content-Length:
+ - '1933'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:22:10 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W4JON5SM245RBB2YKQOHOTNSPYC
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - d6adb494-a7ed-48ac-b022-0c0740a3df93
+ Client-Request-Id:
+ - d6adb494-a7ed-48ac-b022-0c0740a3df93
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000406"}}'
+ Splogid:
+ - 027dcaa1-4034-0000-83a4-ac087a3f4192
+ Date:
+ - Mon, 29 Sep 2025 13:22:10 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:22:11 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_replace_permissions_write.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_replace_permissions_write.yml
new file mode 100644
index 00000000000..7c050000240
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/sharepoint/set_permissions_replace_permissions_write.yml
@@ -0,0 +1,1009 @@
+---
+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.6.0
+ 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:
+ - 129cd860-7c92-4a18-ab86-a51b24674700
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-j7e-cT9YCe6_gGy_wiISFQ'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=As5LNLD7FWxGmiRxKmnWbaJZ-dCOAQAAAPN9bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:17:39 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:17:39 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: Mon, 29 Sep 2025 13:17:39 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root/children
+ body:
+ encoding: UTF-8
+ string: '{"name":"Permission Test Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '88'
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 201
+ message: Created
+ 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
+ Etag:
+ - '"{770B306B-AE6B-4473-996A-89717DB01400},1"'
+ Location:
+ - https://ymt6d.sharepoint.com/_api/v2.0/drives('b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX')/items('root')/children('01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA')
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 1e6f742e-7521-43b5-b721-631b7caf9858
+ Client-Request-Id:
+ - 1e6f742e-7521-43b5-b721-631b7caf9858
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF0000069A"}}'
+ Splogid:
+ - c07ccaa1-700b-0000-83a4-a0b087db48bf
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:39 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/root/children/$entity","@odata.etag":"\"{770B306B-AE6B-4473-996A-89717DB01400},1\"","eTag":"\"{770B306B-AE6B-4473-996A-89717DB01400},1\"","lastModifiedDateTime":"2025-09-29T13:17:40Z","createdDateTime":"2025-09-29T13:17:40Z","id":"01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA","name":"Permission
+ Test Folder","size":0,"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{770B306B-AE6B-4473-996A-89717DB01400},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OP
+ Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"lastModifiedBy":{"application":{"displayName":"OP Selected","id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9"},"user":{"displayName":"SharePoint
+ App"}},"parentReference":{"driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","driveType":"documentLibrary","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","sharepointIds":{"listId":"87d67c02-fdaf-4504-8b39-920984585ad7","listItemUniqueId":"458e6945-3722-40b1-946f-4743a2d480f2","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff","siteUrl":"https://ymt6d.sharepoint.com/sites/OPTest","tenantId":"e36f1dbc-fdae-427e-b61b-0d96ddfb81a4","webId":"6af246f0-e3be-45ef-b91a-8eca4dcc5d8f"}},"fileSystemInfo":{"createdDateTime":"2025-09-29T13:17:40Z","lastModifiedDateTime":"2025-09-29T13:17:40Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'
+ recorded_at: Mon, 29 Sep 2025 13:17:40 GMT
+- 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.6.0
+ 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:
+ - 3fdb67c6-c06a-430c-ae70-cb00cdb46e00
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-ZcySJcIuXkpTMGC-jlUzng'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AllesxGfoL5JoX2jvpU085RZ-dCOAQAAAPR9bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:17:40 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:17:39 GMT
+ Content-Length:
+ - '1940'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:17:40 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 63aafc41-0447-46a9-b75d-b9f14391be63
+ Client-Request-Id:
+ - 63aafc41-0447-46a9-b75d-b9f14391be63
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DF"}}'
+ Splogid:
+ - c07ccaa1-a047-0000-83a4-adc3e5b4bab0
+ Date:
+ - Mon, 29 Sep 2025 13:17:40 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:17:40Z","eTag":"\"{770B306B-AE6B-4473-996A-89717DB01400},2\"","id":"01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:17:41Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{770B306B-AE6B-4473-996A-89717DB01400},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:17:40Z","lastModifiedDateTime":"2025-09-29T13:17:41Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:17:40 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 6cf40ce2-4656-45d2-9fb6-f10b362aa13e
+ Client-Request-Id:
+ - 6cf40ce2-4656-45d2-9fb6-f10b362aa13e
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DF"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c07ccaa1-1050-0000-83a4-ac1b4f33e3bf
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:40 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}},"inheritedFrom":{}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:17:41 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '130'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 686909d9-00b4-40bf-9706-5f0600b63f90
+ Client-Request-Id:
+ - 686909d9-00b4-40bf-9706-5f0600b63f90
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DF"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c07ccaa1-105f-0000-83a4-adb77e31f81b
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:40 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["write"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:17:41 GMT
+- 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.6.0
+ 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:
+ - ee5e0015-5b91-4d57-a788-665769f32b01
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - NEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-TT9AK6gfBoKyf6nC5X2p6w'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Ag8qYc_U7cJAkbYEQlFxLIZZ-dCOAQAAAPp9bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:17:46 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:17:45 GMT
+ Content-Length:
+ - '1940'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:17:46 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - 112f5d8d-94c1-409c-8fd4-9a026da46d7a
+ Client-Request-Id:
+ - 112f5d8d-94c1-409c-8fd4-9a026da46d7a
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF0000054D"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c17ccaa1-a0a2-0000-83a4-afb9bf7d091f
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:45 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["write"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"},"siteUser":{"displayName":"Pavel
+ Balashou 1234","id":"19","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:17:46 GMT
+- 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.6.0
+ 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:
+ - aab0fa87-c123-4fba-8792-389539a80700
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - FRC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-IWTVecUwYNZziMnjazva7w'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AvLlbK0YwmdLrHWJAjLZaKxZ-dCOAQAAAPp9bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:17: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:
+ - Mon, 29 Sep 2025 13:17:46 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: Mon, 29 Sep 2025 13:17:47 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - f8aa1995-0711-4786-9535-decdebd94acd
+ Client-Request-Id:
+ - f8aa1995-0711-4786-9535-decdebd94acd
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000EB7"}}'
+ Splogid:
+ - c17ccaa1-20d2-0000-83a4-a5f4577dd303
+ Date:
+ - Mon, 29 Sep 2025 13:17:46 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","createdBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2025-09-29T13:17:40Z","eTag":"\"{770B306B-AE6B-4473-996A-89717DB01400},2\"","id":"01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA","lastModifiedBy":{"application":{"id":"404e0567-19a1-4a64-b2d1-d3b0c99f2ed9","displayName":"OP
+ Selected"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2025-09-29T13:17:41Z","name":"Permission
+ Test Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX","id":"01ANJ53W56Y2GOVW7725BZO354PWSELRRZ","name":"Marcello
+ AMPF","path":"/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/root:","siteId":"1099e315-d0c7-47c7-8640-aa9504b70fff"},"webUrl":"https://ymt6d.sharepoint.com/sites/OPTest/Marcello%20AMPF/Permission%20Test%20Folder","cTag":"\"c:{770B306B-AE6B-4473-996A-89717DB01400},0\"","fileSystemInfo":{"createdDateTime":"2025-09-29T13:17:40Z","lastModifiedDateTime":"2025-09-29T13:17:41Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'
+ recorded_at: Mon, 29 Sep 2025 13:17:47 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - e6426959-ddbb-4294-9978-58c0c752fd85
+ Client-Request-Id:
+ - e6426959-ddbb-4294-9978-58c0c752fd85
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000EB7"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c17ccaa1-70da-0000-83a4-afae826844e9
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:46 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","roles":["write"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"},"siteUser":{"displayName":"Pavel
+ Balashou 1234","id":"19","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Pavel
+ Balashou 1234","id":"3d47face-c45f-40c9-bf35-a9ae2e95a5e4"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:17:47 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/permissions/aTowIy5mfG1lbWJlcnNoaXB8cGF2ZWxiYWxhc2hvdUB5bXQ2ZC5vbm1pY3Jvc29mdC5jb20
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - c7cba81d-0f90-47c0-9c62-2fa8ea1b18e3
+ Client-Request-Id:
+ - c7cba81d-0f90-47c0-9c62-2fa8ea1b18e3
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000EB7"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c17ccaa1-10eb-0000-83a4-aad4080c2386
+ Date:
+ - Mon, 29 Sep 2025 13:17:47 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:17:47 GMT
+- request:
+ method: post
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/invite
+ body:
+ encoding: UTF-8
+ string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}]}'
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/json; charset=utf-8
+ Content-Length:
+ - '130'
+ 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
+ Location:
+ - https://graph.microsoft.com
+ Vary:
+ - Accept-Encoding
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 683a5d44-653a-42de-8af9-5d6c5df97c37
+ Client-Request-Id:
+ - 683a5d44-653a-42de-8af9-5d6c5df97c37
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000EB7"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c17ccaa1-10ff-0000-83a4-ae19f83289e2
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:47 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["write"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:17:48 GMT
+- 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.6.0
+ 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:
+ - b3eb4588-3064-4e4c-a116-f67e15777300
+ X-Ms-Ests-Server:
+ - 2.1.21894.4 - SEC ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-SbzoEkv-6vMc-w48mLifdw'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=Avgu9nQmPDJPkRhOaGRu6PlZ-dCOAQAAAPx9bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:17:48 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:17:48 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: Mon, 29 Sep 2025 13:17:48 GMT
+- request:
+ method: get
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA/permissions
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ 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:
+ - d021bf7f-c8fc-4a19-86db-3e4dd79e0bde
+ Client-Request-Id:
+ - d021bf7f-c8fc-4a19-86db-3e4dd79e0bde
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000E02"}}'
+ Link:
+ - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",
+ <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"
+ Deprecation:
+ - Fri, 03 Sep 2021 23:59:59 GMT
+ Sunset:
+ - Sun, 01 Oct 2023 23:59:59 GMT
+ Splogid:
+ - c27ccaa1-e036-0000-83a4-a06c58758431
+ Odata-Version:
+ - '4.0'
+ Date:
+ - Mon, 29 Sep 2025 13:17:48 GMT
+ body:
+ encoding: UTF-8
+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX'')/items(''01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA'')/permissions","value":[{"id":"T1AgVGVzdCBPd25lcnM","roles":["owner"],"shareId":"T1AgVGVzdCBPd25lcnM","grantedToV2":{"siteGroup":{"displayName":"OP
+ Test Owners","id":"3","loginName":"OP Test Owners"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","roles":["write"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8Y2VjaWxlZ3Vpb3RAeW10NmQub25taWNyb3NvZnQuY29t","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"},"siteUser":{"displayName":"Cecile
+ Guiot","id":"20","loginName":"i:0#.f|membership|[email protected]"}},"grantedTo":{"user":{"displayName":"Cecile
+ Guiot","id":"ff8a41f8-62e8-43bf-a873-8857f49a68d0"}}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NWRmYjQyNjktZDNlMy00YzcwLTgzZjUtYzQ5MzdmZjZkY2RiX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"},"siteUser":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb_o"}},"grantedTo":{"user":{"displayName":"OP
+ Test Owners","email":"[email protected]","id":"5dfb4269-d3e3-4c70-83f5-c4937ff6dcdb"}}}]}'
+ recorded_at: Mon, 29 Sep 2025 13:17:49 GMT
+- 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.6.0
+ 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:
+ - 55a18179-9342-43ce-87c4-83a7c04f2400
+ X-Ms-Ests-Server:
+ - 2.1.21950.4 - WEULR1 ProdSlices
+ X-Ms-Srs:
+ - 1.P
+ Content-Security-Policy-Report-Only:
+ - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-7LcFwkKsdB8QhZ7tGVUp3w'
+ '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
+ Cross-Origin-Opener-Policy-Report-Only:
+ - same-origin; report-to="coop-endpoint"
+ Reporting-Endpoints:
+ - coop-endpoint="https://idux.azurewebsites.net/api/coopReport"
+ X-Xss-Protection:
+ - '0'
+ Set-Cookie:
+ - fpc=AuNSrwno4h1EjJj39nuMgvFZ-dCOAQAAAP19bOAOAAAA; expires=Wed, 29-Oct-2025
+ 13:17:49 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;
+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;
+ secure; samesite=none; httponly
+ Date:
+ - Mon, 29 Sep 2025 13:17:48 GMT
+ Content-Length:
+ - '1936'
+ body:
+ encoding: UTF-8
+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'
+ recorded_at: Mon, 29 Sep 2025 13:17:49 GMT
+- request:
+ method: delete
+ uri: https://graph.microsoft.com/v1.0/drives/b!FeOZEMfQx0eGQKqVBLcP__BG8mq-4-9FuRqOyk3MXY8CfNaHr_0ERYs5kgmEWFrX/items/01ANJ53W3LGAFXO25OONCJS2UJOF63AFAA
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - httpx.rb/1.6.0
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ response:
+ status:
+ code: 204
+ message: No Content
+ headers:
+ Cache-Control:
+ - no-store, no-cache
+ Strict-Transport-Security:
+ - max-age=31536000
+ Request-Id:
+ - 78d89c1b-bdf4-4389-8bc7-ef2a708753c5
+ Client-Request-Id:
+ - 78d89c1b-bdf4-4389-8bc7-ef2a708753c5
+ X-Ms-Ags-Diagnostic:
+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000E7A"}}'
+ Splogid:
+ - c27ccaa1-706a-0000-83a4-aa9310f13d9c
+ Date:
+ - Mon, 29 Sep 2025 13:17:49 GMT
+ body:
+ encoding: UTF-8
+ string: ''
+ recorded_at: Mon, 29 Sep 2025 13:17:49 GMT
+recorded_with: VCR 6.3.1