Search in all user's channel messages - microsoft-graph-api

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.

Related

Hide/Show teams in left navigation bar of the MS Teams application

We would like to hide teams for the users in the left navigation bar of their MS Teams application programmatically. We would like to hide teams on behalf of the users in their application. Please see below image for the reference.
I couldn't get any graph API to do this. I don't know if it's feasible or not.
Is there any way to do this using MS Graph API or any other SDKs?
Currently this feature is not available, Microsoft will always focus on customer’s feedback and experience, some new features would be added to the services based on customers' feedback in the future, we also recommend you give your new idea in Teams UserVoice here, if this needs to be consider as a future request.

Microsoft Graph API/ EWS not return order of child folders list as Outlook app

I want to get child folders of Inbox which have same order as Outlook app.
Now Graph API and EWS return same result but not same order as Outlook app.
Does Graph API or EWS support that?
https://learn.microsoft.com/en-us/graph/api/mailfolder-list-childfolders
I used both the APIs. but none of them return the way as you're expecting above. Rather, i have a suggestion here, get the folder values, tabulate or implement you custom logic and show the folders as you wish. Instead of these two, you may want to check with legacy MAPI (or play with MFCMAPI utility) to see if it works as you look.

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.

Access current SharePoint Online user’s “Liked” & “Saved for later” docs/pages via Microsoft Graph API?

At the bottom of most pages/docs in SharePoint Online modern pages, there are “Like” and “Save for later” toggles.
I would like to be able to programmatically retrieve a list of things that were either “Liked” or “Saved for later” by the currently logged in user.
Is this something I can fetch using the Microsoft Graph or does SharePoint have something more readily available for reading this data?
The ability to return the list of items of drive items that are followed is currently available in beta
https://learn.microsoft.com/en-us/graph/api/drive-list-following?view=graph-rest-beta
I believe that Like and save for later are different from follow. You may want to try this API to see whether they show up or not.

Searching all users' emails in office 365 for items sent to certain people

When someone views contact details in our CRM, I would like to pull in a summary of recent correspondence.
I can search one user easily enough:
https://graph.microsoft.com/v1.0/users/jo#example.com/messages?$search="bob#example.com"&$select=from,sender,toRecipients,subject
But you have to cross reference every user with every contact is a lot of requests.
Is it possible to search the Microsoft Graph for all emails sent from/to an address from/to all users?
If not, is there any other API / Tech out there that could get me the information.
It isn't possible to search across mailboxes from Microsoft Graph API.
I recommend visiting the UserVoice and adding your suggestion.

Resources