msgraph-sdk-php
msgraph-sdk-php copied to clipboard
Microsoft Graph Library for PHP.
### Describe the bug Hi, I've been going round in circles for several days and I can't find a way out. I'm not sure I've got the right direction yet....
I cannot install Microsoft Graph, I try to install by composer require microsoft/microsoft-graph in docker 
### Describe the bug The [DeviceEnrollmentType ](https://github.com/microsoftgraph/msgraph-sdk-php/blob/main/src/Generated/Models/DeviceEnrollmentType.php) enumeration is missing a few cases: List from https://learn.microsoft.com/en-us/graph/api/resources/intune-troubleshooting-deviceenrollmenttype?view=graph-rest-1.0 contains 25 cases, the enumeration only contains 13 cases. As a result, it is...
Hi much of the PHP SDK documentation refers to HTTP requests like https://graph.microsoft.com/v1.0/me/drive/root/children However when I try to translate this to a Graph query `$result = $graphServiceClient->users()->byUserId("my-user-id")->drive()->root()->children()->get()->wait();` or `$result =...
Hi, I am very new to MS Graph API, but have successfully developed connectivity with other product APIs such as Xero. I have an open item TrackingID#2410040050002672 and was advised...
How can i do this: DELETE /sites/{site-id}/drive/items/{itemId} Something like this doesn't work: `$graphServiceClient->sites()->bySiteId('site-id')->drive()->items()->byDriveItemId('driveItem-id')->delete()->wait();` - drive() has not items(). `$graphServiceClient->sites()->bySiteId('site-id')->drive()->withUrl('https://...sharepoint.com/sites/...')->delete()->wait();` - withUrl() has not delete() `$graphServiceClient->sites()->bySiteId('site-id')->drives()->byDriveId('drive-id')->delete()->wait();` - byDriveId() has not delete()...
### Describe the bug I am trying up upload a file using the SDK, resulting in: `$graphClient->drives()->byDriveId($driveId)->items()->byDriveItemId($itemId.':/'.$filename.':')->content()->put(Utils::streamFor($fileContent))->wait();` As you can see I have to abuse the byDriveItemId DriveId, because the...
Taking a look at the example at https://github.com/microsoftgraph/msgraph-sdk-php/blob/7fa86c054e315c5d6e081f3f1f3b963562c923f3/docs/Examples.md?plain=1#L658 The graph client is missing the setup of the BatchRequestRequestBuilder. The code of the graphclient should have an ``batch()`` function returning the...
### Describe the bug When doing a query for signins for users it is doing a case sensitive search, _$filter_, instead of the case insensitive search, _filter_. I got the...
### Describe the bug I am trying to use the Microsoft SDK via Composer for my website project. I have a Transport controller that lists Use Microsoft\Graph\Graph; However I am...