IGraphClient.ListRules

IGraphClient.ListRules method

Get all the messageRule objects defined for the user’s Inbox. Permissions One of the following permissions is required to call this API.To learn more, including how to choose permissions, see Permissions. Delegated (work or school account) MailboxSettings.Read Delegated (personal Microsoft account) MailboxSettings.Read Application MailboxSettings.Read

public List<InboxRule> ListRules()

Return Value

List of inbox rules

See Also