# IRPCUsersAdmin.IsVaultReadyForM365StoragePermissions

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Users](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/IsVaultReadyForM365StoragePermissions/

Badges: `Administration API / specialized` `internal: not for applications` `admin` `session` `idempotent`

Tells whether the vault meets the user identity precondition for projecting M-Files permissions
to Microsoft 365 storage.

- **Service:** [Users](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/index.md) `MFiles.IRPCUsersAdmin`
- **gRPC method:** `/MFiles.IRPCUsersAdmin/IsVaultReadyForM365StoragePermissions`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/is-vault-ready-for-m365-storage-permissions`
- **Request:** [`IsVaultReadyForM365StoragePermissionsRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/IsVaultReadyForM365StoragePermissions/index.md#request)
- **Response:** [`IsVaultReadyForM365StoragePermissionsResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/IsVaultReadyForM365StoragePermissions/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- **For M-Files components only.** M-Files Admin calls it before it saves the setting.
  Applications should not call it.
- Not available in this version: the server fails it with "Not implemented.".
- Requires the vault right `manage_users`. True when at least one user account with the
  `can_log_in` role has a Microsoft Entra object ID (a GUID) as `external_id`.

<a id="request"></a>

## Request: IsVaultReadyForM365StoragePermissionsRequest

No fields.

<a id="response"></a>

## Response: IsVaultReadyForM365StoragePermissionsResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `is_vault_ready` | `bool` | True if the vault meets the precondition. |
