Skip to content

Commit 2a29ed3

Browse files
update readme
1 parent 8e0781a commit 2a29ed3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.MD

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,19 @@ You can also utilize Examples which should help to understand use cases. Of cour
122122

123123
Keep in mind PSSharedGoods is only required for development. When you use this module from PowerShellGallery it's not installed as everything is merged.
124124

125+
### Limiting access to mailboxes (Microsoft Graph API)
126+
127+
Microsoft Graph API requires `Send.Mail` permission to send emails. In some cases `Mail.ReadWrite` permission is also required when the size of email is above 4MB.
128+
If the application is registered in Azure AD (Entra ID) without any additional configuration, it will have access to all mailboxes in the organization.
129+
To limit access to specific mailboxes, you need to use Application Access Policy.
130+
This is a feature that allows you to limit access to specific mailboxes. You can read more about it [here](https://learn.microsoft.com/en-us/graph/auth-limit-mailbox-access).
131+
132+
Following permissions (as shown on the screenshot) are required to send emails using Microsoft Graph API.
133+
134+
![Microsoft Graph Permissions](https://raw.githubusercontent.com/EvotecIT/Mailozaurr/refs/heads/v2-speedygonzales/Docs/Images/MicrosoftGraphPermissions.png)
135+
136+
The rest of the permissins is not required and is there for other features that Microsoft Graph provides.
137+
125138
## To install
126139

127140
```powershell

0 commit comments

Comments
 (0)