The Microsoft Graph beta unsupported create Org Contacts.
Is the new version can support create Org Contacts?
UPDATE:
Based on your latest response it looks like you need Org Contacts. Creation of organizational contacts is currently not supported. Please vote for the following ask on Uservoice: https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/17617309-make-it-possible-to-create-organizational-contacts
Also it would be great to understand your scenario as to why your app needs to create organizational contacts.
Related
When I create a meeting link from my team's app, I get the URL similar to teams.live.com, but when people share the link with me, sometimes I see it as teams.microsoft.com ?
Microsoft introduced Teams for personal accounts some time ago.
Business accounts are teams.microsoft.com, personal accounts are teams.live.com
Same as for Hotmail/outlook (x.live.com) vs outlook.office.com
I'm trying to add Microsoft bot to teams group through an api,i have gone through graph api documentation and teams apps concepts etc, but i didn't find anything, main goal of the this idea is to add bot with out user interaction.
Is there any way to add bot?
It's currently in beta version you can try to use
POST /teams/{team-id}/installedApps
{
teamsApp: <AppId>
}
This API currently require admin consent so don't know if I recommend it more here,
I saw apps like Polly that are doing it in an undocumented way, no idea how
I'm going over the Microsoft Teams section of the Graph API and trying to find out how to do two things:
Create a new chat, giving it a topic that correlates to an entity in our app (essentially creating a chat around an entity), invite specific users into it, and send messages to the chat.
Access the currently logged-in user's private chats, filtered by their topic, and show their contents inside our app.
For #2, it looks like it should be possible using beta endpoint of the Graph API, but I get 403 Forbidden errors both in the Graph Explorer when trying to access https://graph.microsoft.com/beta/me/chats, and in my own app, after enabling the Chat.Read permissons for it.
For #1, it looks like the API doesn't officially support creating new chats at all.
Is there any approach we can use to create and manage chats? Is there an alternative, perhaps not MicrosoftGraph-based API?
as you mention, the ms graph doesn't yet support initiating group chat. You would use the MS Bot Framework for this: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bot-conversations/bots-conv-proactive
I see the docs on these Chat api do exist, but they are not present in the Graph Explorer. I tired testing them in the OfficeApiEditor tool with a v2.0 App Registration and Delegated permissions (Chat.Read) and i get this:
Failure - Status Code 500
"code": "InternalServerError",
"message": "Error while processing response.",
so maybe it will take some time before they are really available in beta.
In MS teams, there is a api called ChatMessage to post a message to a chat(only if the chat already exist or started). But, there is no api to create/start a new chat. I have raised a feature request. Do vote for this to suggest this idea to Microsoft.
https://microsoftteams.uservoice.com/forums/913786-microsoft-teams-free/suggestions/38776681-it-would-be-awesome-l-if-there-is-an-api-functiona
I am facing a problem with creating a Microsoft Team from an Office365 group, I found a thread Skype beta API but when I send the request I get an 'unauthorized' error. In the thread above Bernd told that he can provide a working sample.
We don't currently have support for creating a Microsoft Teams team through any of the existing APIs (Microsoft Graph or other). We are working on a Graph API solution for this, so stay tuned.
I am integrating Office-365-SDK-for-iOS to fetch the user profile and contacts from outlook 365. I configure my application on azure management portal successfully. below are the constants for the app-
#define OutlookClientId #"11d21f9f-6b16-4ea9-8f73-bbc9a65ac72b"
#define OutlookAuthority #"https://login.microsoftonline.com/06cbda59-d75b-4547-8406-e6af3ff4c658/oauth2/token?api-version=1.0"
#define OutlookRedirectUrl #"http://localhost/MyAppName"
#define OutlookRsourceId #"https://graph.microsoft.com/"
When I am giving resourceId is https://outlook.office365.com/.
Then its giving me an error that this is not a valid resource id configured for the app.
I read many url to fined out the problem but I failed.These urls says that "If your app requires permissions to the Office 365 Mail, Calendar, or Contacts APIs, select the Office 365 Exchange Online service." but there is no this service to enable. Below is my add application page screen shot-
There are only 3 application to add.
Please help me out out on this.
Thanks
What type of account are you logging onto the Azure management portal with? Does it have access to Exchange Online? My guess is your Office 365 subscription doesn't include Exchange or SharePoint, so you don't see them there.
It looks like you're trying to use the Unified API though. In that case your resource ID should be https://graph.microsoft.com/.
Ravi,
Please take a look at this article:
https://msdn.microsoft.com/en-us/office/office365/howto/get-started-with-office-365-unified-api
The resource for the unified API is https://graph.microsoft.com not the one that you mention above.
In addition, if you want to query mail, events, files, etc, the tenant you are using for development must have a valid Office365 subscription.
Finally, personal contacts (aka. contacts in Outlook) are not yet supported (coming soon), right now you can access organizational contacts using this request: graph.microsoft.com/beta/myOrganization/contacts