Create Event on Teams Channel Calendar from Daemon application using Microsoft Graph API - calendar

I have a daemon application that needs to update calendars created in Teams channels.
As far as I can tell, these channel calendars (unlike traditional Outlook calendars) do not have easily accessible IDs, so the Create event method for Calendars is not possible.
The Create event method for Group calendars documentation states that Application permissions are "not supported" so my daemon app cannot make changes.
Does a work around exist for this? Am I missing something?

As per docs the current api does not support application permission so your app wont be able to change the calendar.

Related

Implementing 2 way calendar sync for custom application

My task is to explore options to implement 2-way calendar sync.
Application is based on calendar events, and there should be a sync with other popular calendars.
Do I understand this correctly, that I need to do separate implementations for each mail client, like Gmail, Outlook, Apple??
Or it's a better option to create some Zapier integration or similar.

google calendar javascript api: how to create a calendar in my google account and not in oauth authenticated user?

I'm thinking on my scenario and there is a point I cannot manage to bring to a valid approach:
I have a web app where users log in and, among other things, they can create calendars. If this calendars are marked as publics, all users can see them.
I want them to be able to sync the calendars with their google calendar account. I have this already implemented using gapi.
The problem is when, after a while, any user updates an event of a calendar which other user had synchronized before. He is not going to see the changes in his google calendar, as I'm not able to send him updates since he is not logged into the app.
So, my idea was to create all calendars in our own account, and whoever wants to have it in their google account, just have to subscribe to it. I would do that with gapi.acl lib.
What I don't know how to do is: when the first user wants to syncronize the calendar, it should first be created in our own google account, so that the user will be able to subscribe to it...
But how do I change the account where to create a calendar using gapi?
Maybe it is a stupid question but I cannot manage to find out how to do it.
Thanks in advance!!!!
But how do I change the account where to create a calendar using gapi?
You cant, what you are trying to do is get offline access to a users Google calendar data. OffLine access means that your application can access the users account when the user is "offLine" as in not there. This being a fully automated functionality of your application.
You need to request permission of the user for "offline" access once that is granted you are given a Refresh token the refresh token can then be used to request a new access token when ever your application needs even if the user is "offline".
Your problem being that JavaScript is client side this means that the code is running in the users browser. Due to major security concerns offline access is not something you can request using JavaScript you need to use a server sided programming language.
Maybe it is a stupid question but I cannot manage to find out how to do it.
I don't think its a stupid question but I do think there are some major wholes in your applicating design.
You first need to think of if users really want you writing to their personal calendar account.
Then you need to consider weather or not you want to be writing and sharing your personal calendar with a bunch of unknown users.
There are also major limitations to the number of writes or inserts you can make to a single calendar per day so storing everyone's calendar data in your own calendar is going to not only messy but it may end up overloading your request limit.
Once all that is added up have you considered the verification process this application is going to have to go though. How will you justify your application to googles security review, I am writing to a users calendar, I am storing users calendar data in my own personal calendar ....

Can I make Voice/Video Call in Kiosk Desktop App with Microsoft Teams?

I need to make a desktop application as kiosk that can make a Voice/Video calls to Microsoft Teams Clients, is this possible?
For example:
When a user clicks on a button on my kiosks desktop application, this button will call a customer service agent on Microsoft Teams client through a voice/video call.
I've checked the Microsoft Teams & graph API documentations and I didn't get my answers there, this is what I looked at:
https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-beta&tabs=http
If I can do that, would you please share with me the tutorial or the logic to do this ?
Thanks.
It seems that you want to call to Teams users from your own custom desktop app without Teams license.
I'm afraid Microsoft Teams doesn't support custom built apps that call into Teams app currently.
The document you have found shows how to create a call for your service application (bot). But the bot needs to be used in Teams. It does not apply to the desktop app.
Currently we do not support initiating a call to Microsoft Teams user from an external app. You could deeplink and open a chat with the user but not call.

Does bluemix have an API to fetch application monitoring/metrics results?

I see that bluemix has a service called Monitoring and Analytics. All I see from that service are dashboards. I am looking for the information the dashboards are providing in the form of an API. For example, if I want to be notified that my application is down or it is slow running, etc .. Is there a way for me to either receive such alerts or for an API that I can poll periodically?
thank you
The Monitoring & Analytics service does not offer an API to retrieve its collected metrics. We realize that supporting a programmatic interface would be helpful and it's in our backlog to add that capability.
However, M&A does support the other part of your question regarding alerts. There should be an Events tab in your dashboard. In the upper right corner, there's a dropdown to "Configure events policy". If you select it, you can enable Availability alerts ("Is my app down?") and/or Performance Monitoring alerts which are geared to the app's run-time type (Liberty, Node.js, etc.). In that same dropdown you can also "Configure notification". If you specify your email address in the notification dialog, you will start receiving alerts when your Bluemix application is down or running slowly.

Notifications and Syncing Exchange/Office-365 Calendars

I'm working on an application (server-side) that requires syncing calendar events.
The application is intended to work with both Google Calendar and Microsoft Exchange calendar services. I already have the Google calendar syncing in place thanks to their use of web-hook notifications when a resource changes, but I'm having trouble figuring out what method to use with Microsoft's service.
All I've been able to find when searching for a Microsoft solution has been related to EWS. Does the Office 365 calendar API provide any sort of notification mechanism? Am I missing some link/relation between O365 and EWS?
Thanks!
We are working on offering webhooks and sync for Office 365 Mail, Calendar and Contact REST APIs, especially for Calendar. Stay tuned.
[UPDATE] You can use Exchange Web Services in the interim. Take a look at SyncFolderItems, SyncFolderHierarchy, and Notifications. In the Notifications doc, you need to look at the info for Push Notifications.
If you are using O365, you will likely want Streaming Notifications as opposed to Push Notifications.

Resources