You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,19 @@ You can also utilize Examples which should help to understand use cases. Of cour
122
122
123
123
Keep in mind PSSharedGoods is only required for development. When you use this module from PowerShellGallery it's not installed as everything is merged.
124
124
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.
0 commit comments