microsoft-graph

Microsoft Graph API - Resumable upload returns 404 when uploading chunk [duplicate]

自古美人都是妖i 提交于 2019-12-23 03:36:07
问题 This question already has answers here : Resumable upload returns Unauthorized when uploading chunk (2 answers) Closed 2 years ago . Following the answer to this question I removed my Authorization header when uploading the first chunk of my resumable upload. So creating the session: POST https://graph.microsoft.com/V1.0/groups/a0aab702-8e58-4f25-b2dd-066e5d110f0c/drive/root:/10cb244a-d181-44df-aabc-51c30d4cf0f5.txt:/createUploadSession HTTP/1.1 Authorization: Bearer XXX Content-Type:

Microsoft Graph CSharp SDK and OneDrive for Business with a Service/Daemon application - Quota facet returns null

别说谁变了你拦得住时间么 提交于 2019-12-23 03:33:42
问题 I am coding against Microsoft Graph CSharp SDK for OneDrive for Business and I am trying to pull back data on a specific User and request back Quota information. My request: var user = await graphServiceClient.Users["test@test.onmicrosoft.com"].Request().GetAsync(); var drive = await graphServiceClient.Drives["test@test.onmicrosoft.com"].Request().GetAsync(); var quotaTotal = drive.Quota.Used; var displayName = user.DisplayName; var driveType = drive.DriveType; var driveId = drive.Id; The

Is registering a new app through https://apps.dev.microsoft.com necessary?

巧了我就是萌 提交于 2019-12-23 02:32:31
问题 do I have to register a new app with my MS Account via https://apps.dev.microsoft.com - or - can I add simply a new application to my Azure Active Directory? I'd like to use the OAuth2 Implicit flow to use Single Sign On with Microsoft Graph . I have created a new application via the Azure Portal in our Active Directory, enabled implicit flow "oauth2AllowImplicitFlow": true, in the manifest and enabled multi-tenant environment . The goal is to enable Single Sign On for Personal and

Insert recurring event on office 365 api returns incorrect start and end date

故事扮演 提交于 2019-12-23 02:22:08
问题 I'm developing an Asp.net MVC App calendar, based on microsoft Office 365 Api. When I'm trying to insert an event server changes my start date and end date. I've tried on Microsoft Graph Api Explorer here: https://graph.microsoft.io/en-us/graph-explorer, with this event: { "subject": "TEST 11", "recurrence": { "pattern": { "type": "relativeYearly", "interval": 1, "month": 1, "dayOfMonth": 0, "daysOfWeek": [ "monday" ], "firstDayOfWeek": "sunday", "index": "first" }, "range": { "type": "noEnd"

Using Microsoft graph API to access O365 Myapps

感情迁移 提交于 2019-12-23 02:01:32
问题 I'm trying to get all of the apps that are available through my apps with the graph API and I don't see any call that allows me to do that. I've been reading their documentation here: https://msdn.microsoft.com/en-us/office/office365/api/api-catalog however, have been unable to find anything that pertains to my issue. 回答1: The documentation you are referring to is actually for the Office 365 API. The Graph API is available here: http://graph.microsoft.io/en-us/docs . While the two are similar

Expanding singleValueExtendedProperty not working when retrieving Event details

谁说胖子不能爱 提交于 2019-12-22 20:43:30
问题 I am trying to retrieve custom property value for an event using Microsoft Graph. The custom property was created by an Outlook Office.js Add-ing Here is request /v1.0/me/events/{id}?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name myCusProp') This returns a successful response from Graph but it does not return the singleValueExtendedProperty . The Outlook add-in, however, is still able to retrieve the property value from the same Event.

Expanding singleValueExtendedProperty not working when retrieving Event details

两盒软妹~` 提交于 2019-12-22 20:43:01
问题 I am trying to retrieve custom property value for an event using Microsoft Graph. The custom property was created by an Outlook Office.js Add-ing Here is request /v1.0/me/events/{id}?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name myCusProp') This returns a successful response from Graph but it does not return the singleValueExtendedProperty . The Outlook add-in, however, is still able to retrieve the property value from the same Event.

Create a Group in Microsoft Graph API with a Owner

吃可爱长大的小学妹 提交于 2019-12-22 18:23:42
问题 I have a Office 365 Group that I would like to add through the Microsoft Graph API. Based on the API documentation, I believe I need POST https://graph.microsoft.com/v1.0/groups Content-type: application/json Content-length: 244 { "description": "Self help community for library", "displayName": "Library Assist", "groupTypes": [ "Unified" ], "mailEnabled": true, "mailNickname": "library", "securityEnabled": false } But when I try to add "owner": [{ "@odata.id": "https://graph.microsoft.com/v1

On behalf of token issue (AADSTS50013: Assertion contains an invalid signature)

泄露秘密 提交于 2019-12-22 12:33:47
问题 I'm getting an error (mentioned below) when I'm trying to use Cortana Bot user token (which is a Graph token) to generate an "on-behalf-of" token to another consuming Web API application using ClientAssertionCertificate / ClientCredential targeted to another consuming Web API by passing its AppId as ResourceId and userAssertion generated by using Cortana Bot user token. When checked our Bot AAD settings it is configured with other consuming Web API (API B) as valid application along with

On behalf of token issue (AADSTS50013: Assertion contains an invalid signature)

◇◆丶佛笑我妖孽 提交于 2019-12-22 12:33:11
问题 I'm getting an error (mentioned below) when I'm trying to use Cortana Bot user token (which is a Graph token) to generate an "on-behalf-of" token to another consuming Web API application using ClientAssertionCertificate / ClientCredential targeted to another consuming Web API by passing its AppId as ResourceId and userAssertion generated by using Cortana Bot user token. When checked our Bot AAD settings it is configured with other consuming Web API (API B) as valid application along with