Facebook create events with several owners with Graph API - events

Is it possible to create an event with the graph API with several owners/promoters ?
It seems to be possible manually so why not using Graph API, but I don't find any docs about that issue...?
Any answer ?

There's no API to change the admins of an event, this can only be done via Facebook's own interface.

Related

Is it possible to convert individual assignment to group assignment programmatically via Okta API?

An Okta Admin is able to convert individual assignments to group assignments as stated in the help documentation. Is it possible to do this in a programmatic way through the Okta API? I'm not able to find any reference in the docs.
No, unfortunately there is no way to do that through API, as far as I know
I utilize Okta workflows to programmatically convert individual assignments to group assignments. You can send a POST (I use the custom API action card in Okta Workflows, but I'm sure you could post directly to the API) to /api/v1/apps/<okta app ID>/users/<okta userID> with the following body: {"scope":"GROUP"}. Hope that helps, I know I struggled to find a solution until I discovered this method.

Is it possible to query appointment custom form data using Microsoft Graph API?

I'm trying to get the values defined in a user created custom form (custom form designed in Outlook for calendar events, pictured below) via Microsofts Graph API.
I've been digging through the documentation for a while now and cannot find anything that would let me do that. I want to get a specific event and get the values defined in the custom form.
Also queried the various extension and schema endpoints and not a trace of the custom data.
Is this even possible with the Graph api?
Based on my test, the values from custom form cannot be obtained by Graph. Although no official docs states this.
If you cannot get the information by the expand=fields too, I'd suggest you to submit a feature request first: https://officespdev.uservoice.com/

contacts count and users count are different between Graph API and outlook website

Firstly, I used Microsoft Graph API /me/contacts to get all contacts, and I got 6000+ contacts' info. But when I login https://outlook.office.com/owa/?path=/people and visited [Your Contacts] page to compared the contact number, there are only 5000+ contacts.
Secondly, same problem in users count, I used Microsoft Graph API /users to get all users' info, and I got 5000+. But when I go to https://outlook.office.com/owa/?path=/people and visited [Directory > All Users], the number is only 4000+
I guessed outlook had filter some contacts, but I don't know the the filtering rules.
I wanted to solve this problem, but I don't know how.
So can someone tell me the filtering rules or can I use Microsoft Graph API token to fetch datas from Outlook API directly?
So can someone tell me the filtering rules or
This answer need the guy from outlook team. Ignore now.
can I use Microsoft Graph API token to fetch data from Outlook API
directly?
No. Graph API token not the same as the pure Outlook API.
For the count issue, based on your project requirement to decide which to use. In other words, you can use your own filtering rules. In my opinion, use the data have more records, and then filter.

How can I generate events for Context Audit.General and DLP.All using apis?

How can I generate events for Context Audit? General and DLP. All using apis?
Basically, I'm interested in generating those type of events using the API.
Right now I’m getting the information of the content types using an API as it is shown on this page https://msdn.microsoft.com/office-365/office-365-management-activity-api-reference#start-a-subscription and my objective is to be able to generate events that trigger logs/events for Audit.General and DLP.All.
For example: for generating logs/events for contentType=Audit.AzureActiveDirectory I only had to create a new user through Microsoft graph API https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_post_users and it was all, in that way I triggered events/information and I can query using request mentioned here https://msdn.microsoft.com/office-365/office-365-management-activity-api-reference#start-a-subscription.
Basically, that is I want to do for Audit.General and DLP. All but I have not found a way to trigger those events.

Slack API re-activate user after deactivating by users.admin.setInactive

When a user was deactivated (after using undocumented API method users.admin.setInactive), is there any possibilities to re-activate him using slackAPI? Unfortunatelly i didn't find any method for this...
The only way I've found is by using Slack SIM API. See PATCH /Users/{id} on:
https://api.slack.com/scim
Worth mentioning this is only available to Slack workspaces on the Plus plan and Slack Enterprise Grid.
Hope that helps!
After long searching it is possible to get users reactivated with the free api. You can not do it with a legacy key and api key. But you can with an session api key
see https://github.com/SvenHamers/slack-sessiontoken for an example how to automate it (Golang)
Api: users.admin.setRegular

Resources