microsoft-graph-api

How to combine NOT filter in MS Graph API

ⅰ亾dé卋堺 提交于 2021-02-10 18:01:30
问题 I want to search graph API users for everyone whos name does not start with some value I tried https://graph.microsoft.com/v1.0/users?$filter="NOT startswith(displayName,'J')" https://graph.microsoft.com/v1.0/users?$filter=not(startswith(displayName,'J')) But I get Invalid filter clause Is there any way to achieve this? I actually need to do this in C#, where I run into the same issue - I wonder if there is a way of specifying NOT STARTSWITH using the SDK? string filter = String.Format(

Microsoft Graph API call getOffice365ActiveUserDetail fails with HTTP 403

陌路散爱 提交于 2021-02-10 15:48:27
问题 I try to call Microsoft Graph APIs reports call: https://graph.microsoft.com/beta/reports/getOffice365ActiveUserDetail(period='D7') But it fails with error HTTP 403. Is there a way exists to overcome this? 回答1: With Microsoft Graph explorer i can repro the issue with the same API call. HTTP 403 is forbidden error. It tells that you're not allowed or dont have permission to call the API. Make sure you have necessary permissions. Tried updating the permission "Reports.Read.all", with admin

https://graph.microsoft.com/v1.0/places/microsoft.graph.room Api is not giving updated data

拜拜、爱过 提交于 2021-02-10 14:56:06
问题 I am Using Microsoft Graph to fetch list of rooms available for a tenant. As per Documentation, List Palace Api (https://docs.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http) should be used for this. Now, I am facing problem with getting updated data using List Places api. I have added few rooms to the tenant but those are not reflected as part of response for List places api. However, findRooms api which is in Beta gives the updated response. https://graph.microsoft

https://graph.microsoft.com/v1.0/places/microsoft.graph.room Api is not giving updated data

此生再无相见时 提交于 2021-02-10 14:55:10
问题 I am Using Microsoft Graph to fetch list of rooms available for a tenant. As per Documentation, List Palace Api (https://docs.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http) should be used for this. Now, I am facing problem with getting updated data using List Places api. I have added few rooms to the tenant but those are not reflected as part of response for List places api. However, findRooms api which is in Beta gives the updated response. https://graph.microsoft

Unable to retrieve guest users calendar events in Microsoft Graph

走远了吗. 提交于 2021-02-10 06:53:38
问题 I have created an app in azure AD, in my company tenant. In application permissions, I have added Calendars.Read and Calendars.ReadWrite (Read and write calendars in all mailboxes) with application permission type, and I have grant admin consent. In users, I have added user with personal Microsoft account (outlook.com) as a guest user. When I am calling a graph for Member users, I am able to receive calendar events (and create a new ones), but when I am calling a graph for a Guest users I get

Unable to create Planner as a Tab in Microsoft Teams

送分小仙女□ 提交于 2021-02-10 05:13:33
问题 I have a set of Microsoft Teams that I'm unable to add a Microsoft Planner tab to. When I try and add the Planner I get the dialog and put in the Planner name and click Create and it gives back a Create Plan Failed message. No other information is returned. This happens doesn't happen in all Microsoft Team, ones that are created normally in the teams app work fine, but ones that I create through the Microsoft Graph have this problem. Here is the code that I'm using to create the team. public

Unable to create Planner as a Tab in Microsoft Teams

假如想象 提交于 2021-02-10 05:13:08
问题 I have a set of Microsoft Teams that I'm unable to add a Microsoft Planner tab to. When I try and add the Planner I get the dialog and put in the Planner name and click Create and it gives back a Create Plan Failed message. No other information is returned. This happens doesn't happen in all Microsoft Team, ones that are created normally in the teams app work fine, but ones that I create through the Microsoft Graph have this problem. Here is the code that I'm using to create the team. public

Is it possible to programmatically access the selected appointment (event) in outlook using Office Add In

萝らか妹 提交于 2021-02-08 11:45:24
问题 How to get the selected appointment data from outlook calendar Add Ins. I have added the Add Ins in Outlook calendar. I want to get the selected appointment ( event ) data. Because i need to display the selected event in Outlook Add Ins. Is this possible ? ( using javascript ) 回答1: You can use Office.js APIs to get the details of current item or mailbox. For selected item's data you can use Office.context.mailbox.item APIs. Please check the API reference doc for complete API set. 来源: https:/

Uploading a large attachment using Microsoft Graph

不羁岁月 提交于 2021-02-08 10:51:40
问题 I am trying to upload a large (> 4mb) attachment to an existing message in Office 365. I am following these instructions: https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http I have successfully created the upload session, and obtained a uploadUrl value that looks legitimate, it roughly matches the example in the documentation. Then I start my PUT to this url, for the first byte range that I've selected. I'm sure I'm setting the Content-Type, Content-Length and Contact

Uploading a large attachment using Microsoft Graph

孤街浪徒 提交于 2021-02-08 10:51:14
问题 I am trying to upload a large (> 4mb) attachment to an existing message in Office 365. I am following these instructions: https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http I have successfully created the upload session, and obtained a uploadUrl value that looks legitimate, it roughly matches the example in the documentation. Then I start my PUT to this url, for the first byte range that I've selected. I'm sure I'm setting the Content-Type, Content-Length and Contact