README.md in gitlab-mail_room-0.0.19 vs README.md in gitlab-mail_room-0.0.20
- old
+ new
@@ -132,10 +132,12 @@
:inbox_options:
:tenant_id: 12345
:client_id: ABCDE
:client_secret: YOUR-SECRET-HERE
:poll_interval: 60
+ :azure_ad_endpoint: https://login.microsoftonline.com
+ :graph_endpoint: https://graph.microsoft.com
:delivery_method: sidekiq
:delivery_options:
:redis_url: redis://localhost:6379
:worker: EmailReceiverWorker
-
@@ -229,9 +231,28 @@
:poll_interval: 60
```
By default, MailRoom will poll for new messages every 60 seconds. `poll_interval` configures the number of
seconds to poll. Setting the value to 0 or under will default to 60 seconds.
+
+### Alternative Azure cloud deployments
+
+MailRoom will default to using the standard Azure HTTPS endpoints. To
+configure MailRoom with Microsoft Cloud for US Government or other
+[national cloud deployments](https://docs.microsoft.com/en-us/graph/deployments), set
+the `azure_ad_endpoint` and `graph_endpoint` accordingly. For example,
+for Microsoft Cloud for US Government:
+
+```yaml
+ :inbox_method: microsoft_graph
+ :inbox_options:
+ :tenant_id: 12345
+ :client_id: ABCDE
+ :client_secret: YOUR-SECRET-HERE
+ :poll_interval: 60
+ :azure_ad_endpoint: https://login.microsoftonline.us
+ :graph_endpoint: https://graph.microsoft.us
+```
## delivery_method ##
### postback ###