Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Office 365 Connectors

222 views

Published on

Office 365 Connectors presentation by Toni Pohl (L300)

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Office 365 Connectors

  1. 1. Office 365 Groups Office Graph Infrastructure
  2. 2. 3rd party app Office 365 Group message „Webhook“
  3. 3. • • • • • •
  4. 4. curl -H "Content-Type: application/json" -d "{"text": "Hello World!"}" <YOUR WEBHOOK URL>
  5. 5. curl -H "Content-Type: application/json" -d "{"title": "Learn about Office 365 Connectors", "text": "Visit the [Outlook Dev Portal](https://dev.outlook.com) to learn more about Office 365 Connectors!", "themeColor": "EA4300"}" <YOUR WEBHOOK URL>
  6. 6. curl -H "Content-Type: application/json" -d "{"title": "Learn about Office 365 Connectors", "text": "Visit the [Outlook Dev Portal](https://dev.outlook.com) to learn more about Office 365 Connectors!", "themeColor": "EA4300", "potentialAction": [{"@context": "https://schema.org", "@type": "ViewAction", "name": "Open Outlook Dev Center", "target": ["https://dev.outlook.com"]}]}" <YOUR WEBHOOK URL>
  7. 7. $url = 'https://outlook.office365.com/...' $body = @" { "text": "Hello World at SPC Adriatics!", "title": "Enjoy this community event #SPCAdriatics!" } "@ Invoke-RestMethod -Uri $url -Method Post -Body $body - ContentType "application/json"
  8. 8. { "summary": "New Comment by Ben Quillen on "Fabrikam Forum"", "title": null, "text": null, "themeColor": "#3479BF", "sections": [ { "title": null, "text": null, "markdown": true, "facts": [ { "name": "Added By", "value": "Ben Quillen" }, { "name": "Date", "value": "15-12-2015" }, {
  9. 9. • • • • •
  10. 10. • • • • • • • • •
  11. 11. • • •
  12. 12. • • • POST https://outlook.office365.com/webhook/f1a6033d... HTTP/1.1 Content-Type: application/json Host: outlook.office365.com Content-Length: 43 {"Text":"Hello World! Buzz...Buzz...Buzz!"}
  13. 13. • •
  14. 14. • • • •
  15. 15. • • • • • • •
  16. 16. • • •

×