meeting-new -t [team] -m [time]
My use case is this:
To be able to schedule a meeting in a team at the beginning of the day. This will enable the meeting to act as a 'virtual office' which your team can jump in and out of (gamers, think of a voice channel in a Discord server). This will allow you or anyone in the team to be able to sit in the 'virtual office' passively and others can jump in freely.
It would be useful to create a notification at the start time so that people can easily join the 'virtual office' when they log in.
I'm not sure how fitting this would be with how the CLI works but I think it is a great idea so would love to hear what you guys think of the idea!
| Option | Description |
| ----------------------- | ----------------------------------------- |
| -o, --option <option> | option |
| -t --team [team] | The team in which to start the meeting
| `m --time [time] | The datetime when to start the meeting
This has been raised on the Teams user voice here:
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/34617772-option-for-passive-voice-channels
@mac-windle interesting suggestion! Do you know if there is an API for it?
Regarding the command design, I'd say that the team is required. Would we also need the channel in which the meeting should be started. We could keep the time optional and if not specified we'd start the meeting right now. What do you think?
I know the Graph API can be used but I have not yet used it in practise for Teams meetings or calls.
https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
I absolutely agree with your comments about the required and optional parameters.
Good call with the meeting start time
Hey @mac-windle, are you still working on this? Do you need any assistance?
Hi.
I have not done any work on this feature.
I think I may have possibly misunderstood the intention of posting the idea here as I meant it purely as a suggestion, not to work on myself - oops!!
Ah, that's my bad. I wrongfully assumed you were working on it. Sorry 馃槉
It's perfectly fine to suggest new features but not implementing them yourself. You did the right thing 馃憤
This looks like fun, the onlineMeetings endpoint seems promising. From what I gather a start datetime, enddatetime and organizer are the smallest set of required params. Hooking it to a specific channel seems doable through the chatInfo property, chatMessage is in preview though.
But regarding the use case, this seems like a casual user operation but an admin user will need to grant you as a casual user permissions to the PnP AAD app right? I really like the idea of being able to use CLI commands for personal (i.e. non-admin) use though.
@jhagstrom some commands in the CLI are admin-focused and such justify the requirement for an admin consent. On the other hand, like you mentioned, that's not the case for all commands. So if there are commands that require permission scopes that don't depend on admin consent, you could create a custom AAD app with just these permissions and use it instead the one we use by default. Does this make sense?
I tried the /beta/me/onlineMeetings/createOrGet endpoint and it works. There are some chained requests required to put together the body to post though :
I had to grant myself OnlineMeetings.ReadWrite, not sure if the default AAD app has that granted, how do I see that by the way?
Good news. I tried some more and it works without having tenant id or upn of organizer in the body.
Just need to remember to provide a fresh guid to put as externalId every time, otherwise you perform the 'get' part of createOrGet
Nice! Regarding the necessary permissions, when we add new commands that require additional permissions, we extend the AAD app with them. The exception so far has been Yammer which isn't available in all tenants and which we can't include by default. For that we're using dynamic consent.
So, do you want to pick this up given you've done all the research? 馃槃
Yes, I can give it a try.
Hey @jhagstrom 馃憢馃徎 How are you getting on with this command?
Not at all I am afraid. I have not had the time for a while now.
Understood and it's fine. Do you want to keep it or let others help?
@garrytrinder @waldekmastykarz @rabwill ... I can work on this... recently had been exploring GRAPH meeting API for a while... Let me know if any special instruction...
Thanks for picking this up @siddharth-vaghasia 馃憤馃徑
Hey @siddharth-vaghasia, are you still working on this?
@waldekmastykarz - sorry, I was on kind of break for some personal reasons...would need another 10 days or so to start....is that okay ?
Perfectly fine! No pressure. Appreciate the update 馃憤
Hey @siddharth-vaghasia, are you still working on this?
@waldekmastykarz .... apologies.. I could not start, might not able to work on this for awhile....
Really sorry for keeping this open for a long time...
No problem. Let's give others a chance to take a try and if you want to pick it up again some time soon and it's still available, you can still help 馃憤
Most helpful comment
Yes, I can give it a try.