With the Microsoft Graph API, you can create a draft meeting invitation without requiring Start and End times.
Register an App in Azure AD: Configure permissions for Calendars.ReadWrite.
{
"subject": "Meeting Title",
"location": {
"displayName": "Conference Room Address"
},
"body": {
"content": "Please set the time and attendees in Outlook."
},
"isDraft": true
}
In PowerApps, use the
Launch() function to open the link after clicking the image. Set placeholder start and end times that can later be adjusted by the user in Outlook or Teams.
Start Time: Use utcNow() for the current time.
End Time: Add a minimal duration (e.g., 15 minutes) to the Start Time using the addMinutes() function.
Include a note in the meeting description (e.g., "Please update the time and attendees in Outlook or Teams.").
Way 3: Provide a Link to Start Scheduling
Instead of creating the event directly, redirect users to the Outlook Calendar page prefilled with the location.
Implementation:
-
Generate a Deep Link to the Outlook Event Page:
https://outlook.office.com/calendar/view/week
Add query parameters to prefill the location field
https://outlook.office.com/calendar/0/deeplink/compose?location=Room+Address
Pass the Location Dynamically:
Replace
Room+Address with the actual room address dynamically from PowerApps.
Launch the Link:In PowerApps, use the
Launch() function to open the link after clicking the image.