@@ -74,27 +74,29 @@ POST https://graph.microsoft.com/v1.0/invitations
74
74
Authorization: Bearer eyJ0eX...
75
75
ContentType: application/json
76
76
{
77
- "invitedUserEmailAddress": "<<external email>>"",
78
- "sendInvitationMessage": true,
79
- "invitedUserMessageInfo": {
80
- "messageLanguage": "en-US",
81
- "ccRecipients": [
82
- {
83
- "emailAddress": {
84
- "name": null,
85
- "address": "<<optional additional notification email>>""
86
- }
87
- }
88
- ],
89
- "customizedMessageBody": "<<custom message>>"
90
- },
91
- "inviteRedirectUrl": "https://myapps.microsoft.com?tenantId=",
92
- "invitedUser": {"id": "<<ID for the user you want to convert>>"}
77
+ "invitedUserEmailAddress" : " <<external email>>" ,
78
+ "sendInvitationMessage" : true ,
79
+ "invitedUserMessageInfo" : {
80
+ "messageLanguage" : " en-US" ,
81
+ "ccRecipients" : [
82
+ {
83
+ "emailAddress" : {
84
+ "name" : null ,
85
+ "address" : " <<optional additional notification email>>"
86
+ }
87
+ }
88
+ ],
89
+ "customizedMessageBody" : " <<custom message>>"
90
+ },
91
+ "inviteRedirectUrl" : " https://myapps.microsoft.com?tenantId=" ,
92
+ "invitedUser" : {
93
+ "id" : " <<ID for the user you want to convert>>"
94
+ }
93
95
}
94
96
```
95
97
96
98
The response to the API is the same response you get when you invite a new guest user to the directory.
97
99
98
100
## Next steps
99
101
100
- - [ B2B collaboration invitation redemption] ( redemption-experience.md )
102
+ - [ B2B collaboration invitation redemption] ( redemption-experience.md )
0 commit comments