[DEPRECATED] To see a current sample that demonstrates the concepts explained here, visit https://github.com/microsoftgraph/angular4-connect-sample
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
src tentant -> tenant Jul 12, 2016
LICENSE Initial commit Dec 16, 2015
README.md Update README.md Oct 27, 2017
angular2-connect-rest-sample.yml Added sample yaml metadata Jan 31, 2018
index.html Initial commit Dec 16, 2015
package.json update es6-shim dependency Jul 12, 2016
tsconfig.json Initial commit Dec 16, 2015



Note: This sample is currently deprecated because it uses obsolete framework libraries.

This sample is a simple Angular2 web application for authenticating to Azure AD and calling into the Microsoft Graph. It is built with TypeScript and does not rely on any libraries for authentication or calling into the Microsoft Graph.

Getting Started

  1. Clone repository.
  2. Register your application using the App Registration tool at dev.office.com and use as the Sign on and Redirect URIs.
  3. Update the src/svcConsts/svcConsts.ts with the Client ID from the app registration and your tenant name.
  4. Open command prompt at the project location and run npm install to pull down all the project dependencies and dev environment dependencies.
  5. Run npm start to start and debug the app

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.