Is it possible to create a calendar event for a whole team using the graph api - calendar

I'm trying to create a calendar event using the graph api that behaves in the same manner that manually creating an event in a channel using the Microsoft Team client would. In other words an event that shows up in the chat and "belongs" to the team. I want the event to behave as seen here.
So far i've tried to use the following endpoints with no luck. On all endpoints i've tried adding the team itself as a recipient/participant of the event but it had no result.
POST /groups/{id}/events
POST /groups/{id}/calendar/events
POST /users/{id | userPrincipalName}/events
Any help is appreciated at this stage.

The Teams in O365 portal will call an internal Teams API to finish the things you mentioned as your screenshot shows.
It doesn't call Microsoft Graph API. In another words, MS Graph doesn't provide an endpoint which schedules an online meeting in a channel currently.
Create an event as an online meeting doesn't send meeting info into a channel. Neither does Create onlineMeeting.
There is a workaround for you: create a Online meeting and then post information about that to a channel.
A related article for your reference.

Related

Is there a way to raise SNOW ticket as notification for query failures in snowflake?

I was going through the integration documents available for snowflake & service now. But, all documents are oddly focussed on sf consuming snow data for analytics. Didn't find anything related to creating tickets for failures at snowflake. Is it possible?
It's not about the monitoring & notification aspect of snowflake but connecting with service now and raise a ticket for query failures (tasks,sp etc.)
Any ideas?
There's no functionality like that as of now. I can recommend you open an Idea for it and if enough customers want it our Product Management will review it.
For the Snowpipe, we found a way to use it. We send the error message to SNS and then we can do a Lambda function to call the Rest API of ServiceNow to create a ticket.
For Task, we find that it is possible to use External Functions to notify to AWS whenever the Task fails, but we haven’t implemented it.
Email is a simple way. You need to determine how your ServiceNow instance is processing emails. We implemented incident creation from Azure App Insights based on emails.
In ServiceNow find the Inbound Action you need to process the email or make one.
ServiceNow provides every instance with an email account
Refer to enter link description here
The instance email is usually xxxx#service-now.com.
If your instance url is "audi.service-now.com", the email would be "audi#service-now.com".
For a PDI dev#servicenowdevelopers.com, e.g.; dev12345#servicenowdevelopers.com

Microsoft graph calendar api delete instance of recurring event

I have created recurring calendar events through graph API in outlook, however, I am not able to find any way to delete a particular instance of a recurring event through Graph API. I have looked all over the graph API documentation
https://learn.microsoft.com/en-us/graph/api/event-delete?view=graph-rest-1.0&tabs=javascript
Let me know is it really possible to update/delete a particular recurring event instance and how.
Thanks!!
You can get all events from the calendar and use the Id of the instance to delete it, a way to get the specific event is by querying the results or you can use the specific endpoint to list instances:
Send a DELETE request using the following path: https://graph.microsoft.com/v1.0/me/events/{id}
I did some tests using the Graph Explorer and worked, you can try there
before start the real development.

Create a multiple messenger chat from the API

I want to create a "social" service of meetings between groups of strangers.
Since people do not know each other before meeting, I wish they could communicate before and especially before the appointment in case someone wants to prevent a delay or can not find others, or is first come on the scene for example...
This service would be accessible on the Web (no mobile application).
I told myself that integrating an available solution "offsite" would be a good idea because it allows to be used also on the phone. I thought of Messenger that is convenient because everyone or almost has facebook.
My idea is that people who sign up for a meeting are automatically added to a messenger group (or at least if the API does not allow it to create a group chat link they can join of their own chief...)
I have researched the API messenger and I have not found for the moment a way to create a group with Facebook IDs eg targeted.
Do you know if this is possible or something that has come closer in case it is not ?
for example a bot that creates a chat link with the users affected by the event ...
The Messenger API is for communication between Pages and (single) Users only. There is no API for User to User chats. You would have to create your own solution - Node.js with Socket.IO is perfect for that, for example.

Change RingCentral behavior in Salesforce App

We've recently integrated the RingCentral app with our Salesforce org, and we'd like to change the behavior of how calls are logged. The calls in question are related to phone numbers attached to Opportunities.
From what we can tell, the app only permits you to log a call made with this method as a new task under the associated Account, if an Account exists.
We want calls from the logged as a "Log a Call" record under the Opportunity, not as a Task under the Account.
We'd also like to be able to call from and log against an existing Task in certain cases. For example, there may be a Task to follow up on a stalled opportunity, and an outgoing call can log against that task.
I don't think this functionality is possible natively, and I'm pretty new to the RingCentral API. Is it possible to achieve this functionality through the API and Salesforce somehow? Thanks!
You can customize the behavior of RingCentral in Salesforce by using the Embeddable Voice Widget:
Embeddable Voice Widget
https://github.com/ringcentral/ringcentral-embeddable-voice
There are a series of demos here:
https://github.com/ringcentral-tutorials/ringcentral-web-widget-demos
Specific Salesforce demos include:
salesforce_lightning/tutorial - basic embedding in Salesforce
salesforce_lightning_more/tutorial - shows how to customize the experience
See discussion on getting objectId for object that triggered widget:
https://github.com/ringcentral/ringcentral-embeddable-voice/issues/112

SalesForce dynamic triggers (callbacks)

We are creating a product that allows customers to sign up and somehow "hook up" their SalesForce CRM implementation to it in which we'd like to have it automatically create triggers/callbacks to an endpoint URL we own (and transferring info about the action+details and which customer of ours is triggering it).
For example: when someone enters a lead, a sale, etc. we want our service (custom code elsewhere on HTTP REST endpoint) to be notified.
What is the best approach for this? I'm a newbie when it comes to SalesForce, just looking for someone to push me the right direction. I hear "SalesForce Apps" and then there is an API, etc. I also hear there is an API limit, so is polling a better idea? Anything else I am missing?
If you distribute your application or "connector" through the Salesforce App Exchange then you can have an Apex trigger on some SObjects which does an HTTP / REST callout to your service. Otherwise you could do something similar to how the Salesforce Webhook Creator dynamically generates the necessary Apex and adds it to a Salesforce org (via the Salesforce Tooling REST API).

Resources