chromium/components/policy/resources/templates/policy_definitions/Drive/MicrosoftOneDriveMount.yaml

caption: Configures the mounting of <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph>
default: allowed
default_for_enterprise_users: disallowed
desc: |-
  This policy allows the admins to configure the mounting of <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph>.

  Setting the policy to '<ph name="ALLOWED_NAME">allowed</ph>' lets the user set up <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph> if they wish to.
  After completing the setup process, <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph> will be mounted in the file manager.

  Setting the policy to '<ph name="DISALLOWED_NAME">disallowed</ph>' prohibits the user from setting up <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph>.

  Setting the policy to '<ph name="AUTOMATED_NAME">automated</ph>' attempts to set up <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph> automatically. This requires the user to log in to <ph name="PRODUCT_OS_NAME">$2<ex>Google ChromeOS</ex></ph> with a Microsoft account. In case of failure it falls back to showing the setup flow.

  Leaving the policy unset is functionally equivalent to setting it to '<ph name="ALLOWED_NAME">allowed</ph>' for regular users; for enterprise users unset policy defaults to '<ph name="DISALLOWED_NAME">disallowed</ph>'.

  It is possible to add further account restrict with the <ph name="MICROSOFT_ONE_DRIVE_ACCOUNT_RESTRICTIONS">MicrosoftOneDriveAccountRestrictions</ph> policy.
example_value: allowed
features:
  dynamic_refresh: true
  per_profile: false
items:
- caption: Allow setup of <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph>
  name: allowed
  value: allowed
- caption: Disallow setup of <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph>
  name: disallowed
  value: disallowed
- caption: Automate setup of <ph name="MICROSOFT_ONE_DRIVE_NAME">Microsoft OneDrive</ph>
  name: automated
  value: automated
owners:
- [email protected]
- file://chrome/browser/chromeos/enterprise/cloud_storage/OWNERS
- [email protected]
schema:
  enum:
  - allowed
  - disallowed
  - automated
  type: string
supported_on:
- chrome_os:122-
tags: []
type: string-enum