Teams Graph API : adding a team member not always working - microsoft-graph-api

I want to join a public team. Let's call it Experiment.
Using the Microsoft Graph API from my WPF app, I add myself to Experiment by calling (with proper content):
POST /groups/{id}/members/$ref
It seems to work. The webrequest returns success, and when I query my joined teams (GET /me/joinedTeams), I can see Experiment in the list.
Unfortunately, when I launch the Teams desktop app (Windows), or the web client, I don't see Experiment inside the list on the left. Even worse, when trying to join the team directly from the app, I can't find Experiment when searching for it.
The only workaround I found is to ask another member to invite me to Experiment.

Related

Google ads api list all accounts and their campaigns

I am totally new to google ads, I have a google ads account setup. I have a customer id (which I believe is the parent account id), under this I have a lot of 'Accounts' (url: ads.google.com/aw/accounts) setup. Every account have a list of campaigns. I want to prepare a report to fetch all campaigns and there settings. I am using postman to hit google apis (googleads.googleapis.com/v8).
I want to know what apis I can use to list all customer accounts and their campaigns?
Using the rest API for this sort of operation is not advised. It's expensive and there's an extremely tight limit.
It's advised to use the gRPC client libraries as they use search operations. You can learn more here: https://developers.google.com/google-ads/api/docs/start
Each of the client libraries has a robust set of examples and sample code that demonstrates exactly what you're trying to achieve (called list_accessible_accounts or similar). If you let me know what language you're using I can point you to the correct one.

How to initiate a Microsoft Teams call(preferably video) from an external application?

I want to build an application which can initiate Teams video call to certain users.
The application will be running on a stand alone machine(like a kiosk) and upon a certain event, the application should be able to start a teams call to one more more users.
What is the best way to do this ? Following are my questions -
Does the Teams need to run under a resource account on that machine ?
Does this need the help of a teams bot? If it needs a bot, does it need to have a teams account associated with it ?
Do I need Microsoft graph to make the call ? Does graph support video call ?
Can the Microsoft Teams Rooms be used in any way to achieve this ?
I have been reading different documents which seem to offer some aspect of what I want, but not sure what is the best way here. Any help is appreciated. Thanks in advance!
We can initiate a Microsoft Teams call from an external application, We can create a call using an Graph API using an external application. When a call is created need to mention the requestedModalities where audio/video/videoBasedScreenSharing can be define for a call. please check the properties in Call resource type .

Search in all user's channel messages

Can I use the Microsoft Graph API for Teams to search in messages of all channels the user has access to? I.e. can I use the API to build something like the search bar on top of the Microsoft Teams app?
The functionality (similar like search bar) is not exposed at this point... But for time being you can try this, you should get all the channels that you're part of. Then you make can make the Graph API call to get list of messages. In addition to that you can consider filing a Microsoft Uservoice, so it can be considered as new feature request and can be implemented.

Is there any way to get the list of joined teams details of members?

Is there any way to get the list of joined teams details of members except graph API? Using graph API of below link we can get the list of joined teams details of any members. Similarly, is there any other way to get the list of joined MS teams group details? I want to use these details in Microsoft bot framework.
https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0&tabs=csharp
Due to some security concern I can not use graph API as of now.
I am also exploring below link but I am not getting anything here... Looking for any REST API like graph API where I can provide the users name and I can get details.
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=dotnet
It's not a security concern, rather it's part of the requirement. If i am in your place, i would set Graph API as prerequisite for my app to work, explain the benefits that you're going to get with Graph/application permissions. Apart from Microsoft Graph API you can try with Powershell, CLI.

Is there a way to specific refer to only one id from this rest api using jsonpath?

I'd like to just get data from UK.GOV when I send a GET request to this API.
https://api.covid19uk.live/
Can this be done using JSONpath? And how would this be done?
This is a bit of a prerequisite for my project because I am trying to make a sensor in Home Assistant that I can use to grab confirmed cases and deaths from Covid19 in the UK.
Home assistant has a built in REST platform structure:
https://www.home-assistant.io/integrations/rest/
Which uses json_attributes and json_attributes_path. Therefore I must be able to do it this way in order for it to work in the desired way.

Resources