Giter Club home page Giter Club logo

msgraph-training-php's Introduction

Build PHP apps with Microsoft Graph - Completed project

PHP Composer

This sample will introduce you to working with the Microsoft Graph SDK to access data in Microsoft 365 from PHP applications. This code is the result of completing the PHP Microsoft Graph tutorial and the .NET Microsoft Graph app-only tutorial.

Running the sample

The code for the delegated user authentication sample is in the user-auth folder. Instructions to configure and run the sample can be found in the README in that folder.

The code for the app-only authentication sample is in the app-auth folder. Instructions to configure and run the sample can be found in the README in that folder.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

msgraph-training-php's People

Contributors

baywet avatar dependabot[bot] avatar github-actions[bot] avatar jasonjoh avatar microsoft-github-policy-service[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

msgraph-training-php's Issues

msgraph training for PHP has no PHP code

Thank you for taking an interest in Microsoft Graph development! Please feel free to ask a question here, but keep in mind the following:

  • This is not an official Microsoft support channel, and our ability to respond to questions here is limited. Questions about Graph, or questions about adding a new feature to the sample, will be answered on a best-effort basis.
  • Questions should be asked on Microsoft Q&A.
  • Issues with Microsoft Graph itself should be handled through support.

Why is the PHP training using Powershell which is a Windows environment?

Error getting users: cURL error 60: SSL certificate problem: unable to get local issuer certificate

Where did you get the code?

Describe the bug
A clear and concise description of what the bug is.

I downloaded the repo and got things inside my XAMPP directory , downloaded cacert.pem and put in the dir , i was able to verify this in the code and call the access token and the user-auth worked.

But when i called the list users in app-auth i get this error

Error getting users: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://graph.microsoft.com/v1.0/users?$select=displayName,id,mail&$orderBy=displayName&$top=25

i have looked EVERYWHERE online and used chatgpt to help solve this and all i can find is the ssl cert to be downloaded which ive already done and to disable ssl cert checks which i cant do.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

  • OS: windows
  • Browser n/a
  • Version n/a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.