msgraph-sdk-php icon indicating copy to clipboard operation
msgraph-sdk-php copied to clipboard

Microsoft Graph Library for PHP.

Results 171 msgraph-sdk-php issues
Sort by recently updated
recently updated
newest added

Hi, thanks for getting the v2.0 update out. It looks promising. We are currently using v1.x in a project. After an OAuth request we store the access_token. That access_token is...

question
documentation

The following endpoint `'https://graph.microsoft.com/v1.0/groups/' . $entityId . '/sites/root/'` which, for a Group that is a Microsoft 365 group, returns details of that team's root Sharepoint site, cannot be accessed programatically,...

Hi, I'm using the version 1.110. I have the following error trying to send an email in MIME type: ``` Client error: `POST https://graph.microsoft.com/v1.0/users/[EMAIL_ADDRESS]/sendMail` resulted in a `403 Forbidden` response:...

The documentation [Get a collection of items](https://github.com/microsoftgraph/msgraph-sdk-php/blob/dev/docs/Examples.md#get-a-collection-of-items) mentions paging, but the example and code are not entirely clear here. The call `$messages->getValue()` from the example would return a native php...

question
Needs: Attention :wave:

Basically, same issue as described in the dotnet sdk, raising here to save others from wasting an entire day on this as I have. https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1928 This issue exists in msgraph-sdk-php...

It seesm the requests aren't really asynchronous as stated in the readme ("The SDK is designed to make async requests by default"). $t = microtime(true); $r = $graphServiceClient->users()->byUserId($user_id)->get(); print_r($r); //...

This pull request was automatically created by Azure Pipelines. **Important** Check for unexpected deletions or changes in this PR. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoftgraph/msgraph-sdk-php/pull/1553)

### Describe the bug use Microsoft\Graph\Model; use Microsoft\Graph\Graph; use Microsoft\Graph\Model\Event; ### Expected behavior when I try to import those classes I face those problems ### How to reproduce create those...

status:waiting-for-triage
type:bug

:robot: I have created a release *beep* *boop* --- ## [2.13.0](https://github.com/microsoftgraph/msgraph-sdk-php/compare/v2.12.0...v2.13.0) (2024-06-25) ### Features * **generation:** update request builders and models ([714efa7](https://github.com/microsoftgraph/msgraph-sdk-php/commit/714efa730e7b2e9c2d78de6b3b6feccff34306de)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please)....

autorelease: pending

``` use Microsoft\Kiota\Authentication\Oauth\ClientCredentialContext; use Microsoft\Graph\Core\Authentication\GraphPhpLeagueAuthenticationProvider; use Microsoft\Graph\GraphServiceClient; $tokenRequestContext = new ClientCredentialContext( $ob_config->tenant, $ob_config->client_id, $ob_config->client_secret ); $scopes = ['User.Read', 'Mail.ReadWrite']; $graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes); print_r($tokenRequestContext); ``` ``` { "config": {...