How can we combine the powers of two fantastic automation tools, Microsoft Graph API and Microsoft Flow?
As an example we will create a team in Microsoft Teams with the help of a simple form in Microsoft Forms, Microsoft Flow and Microsoft Graph API.

Go to Azure AD -> App registrations -> New registration














At this point we could add an approval before we continue, but let us skip that for now.



For this response the schema is:
{
"type": "object",
"properties": {
"@@odata.context": {
"type": "string"
},
"id": {
"type": "string"
},
"deletedDateTime": {},
"classification": {},
"createdDateTime": {
"type": "string"
},
"creationOptions": {
"type": "array"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"groupTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"mail": {
"type": "string"
},
"mailEnabled": {
"type": "boolean"
},
"mailNickname": {
"type": "string"
},
"onPremisesLastSyncDateTime": {},
"onPremisesSecurityIdentifier": {},
"onPremisesSyncEnabled": {},
"preferredDataLocation": {},
"proxyAddresses": {
"type": "array",
"items": {
"type": "string"
}
},
"renewedDateTime": {
"type": "string"
},
"resourceBehaviorOptions": {
"type": "array"
},
"resourceProvisioningOptions": {
"type": "array"
},
"securityEnabled": {
"type": "boolean"
},
"visibility": {
"type": "string"
},
"onPremisesProvisioningErrors": {
"type": "array"
}
}
}

Click “Show advanced options” and add the same values as the last call (Tenant ID, Client ID, Secret and Audience).



Leave A Comment