agreementFileData resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the blob of a Microsoft Entra terms of use agreement file.

Properties

Property Type Description
data Binary Data that represents the terms of use PDF document. Read-only.

Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path "your_file_path" -Encoding byte)).

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "data": "Binary"
}