Fortinet white logo
Fortinet white logo

CLI Reference

ms365 account

ms365 account

Use this command to connect to Microsoft 365 to access the user mailboxes. You must have domain administrator privileges to access Microsoft 365.

Syntax

config ms365 account

edit <name>

set application-id <string>

set application-secret <password>

set description <string>

set service-endpoint {china | germany | global | us-dod | us-gov}

set tenant <password>

end

Variable

Description

Default

<name>

Enter the name of the account profile.

application-id <string>

Enter the application ID.

application-secret <password>

Enter the application secret/password.

description <string>

Enter a brief description of the account.

service-endpoint {china | germany | global | us-dod | us-gov}

Select a regional endpoint appropriate to your geographical location.

global

tenant <password>

Enter the Microsoft 365 tenant credentials.

ms365 account

ms365 account

Use this command to connect to Microsoft 365 to access the user mailboxes. You must have domain administrator privileges to access Microsoft 365.

Syntax

config ms365 account

edit <name>

set application-id <string>

set application-secret <password>

set description <string>

set service-endpoint {china | germany | global | us-dod | us-gov}

set tenant <password>

end

Variable

Description

Default

<name>

Enter the name of the account profile.

application-id <string>

Enter the application ID.

application-secret <password>

Enter the application secret/password.

description <string>

Enter a brief description of the account.

service-endpoint {china | germany | global | us-dod | us-gov}

Select a regional endpoint appropriate to your geographical location.

global

tenant <password>

Enter the Microsoft 365 tenant credentials.