### Install dependencies and start the app Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/external-id/customers/spa-quickstart-portal-vanilla-js-ciam.md Run these commands in your terminal after locating the sample app folder to install dependencies and start the application. Ensure Node.js is installed. ```bash cd App && npm install && npm start ``` -------------------------------- ### Install Dependencies and Start Client App Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-web-app-node-sign-in-edit-profile.md Navigate to the client application directory and install its dependencies, then start the application. This is typically done in a development environment. ```bash cd 1-Authentication/7-edit-profile-with-mfa-express/App npm install npm start ``` -------------------------------- ### Install and start React SPA Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-single-page-app-sign-in.md Run these commands in your project directory to install dependencies and start the development server for a React SPA. ```bash cd 1-Authentication\1-sign-in-react\SPA npm install npm start ``` -------------------------------- ### Install and Start Angular SPA Sample Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/external-id/customers/spa-quickstart-portal-angular-ciam.md Run these commands in the terminal after unzipping the sample app to install dependencies and start the application. ```console cd SPA && npm install && npm start ``` -------------------------------- ### Install and start Node.js project (React) Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-single-page-app-sign-in.md Use these commands to install dependencies and start the Node.js server for the React SPA. Ensure you are in the project directory. ```bash cd react-spa npm install npm start ``` -------------------------------- ### Install and start Node.js project (JavaScript) Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-single-page-app-sign-in.md Use these commands to install dependencies and start the Node.js server for the JavaScript SPA. Ensure you are in the project directory. ```bash cd vanillajs-spa/App npm install npm start ``` -------------------------------- ### Install and start JavaScript SPA Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-single-page-app-sign-in.md Run these commands in your project directory to install dependencies and start the development server for a JavaScript SPA. ```bash cd 1-Authentication\0-sign-in-vanillajs\App npm install npm start ``` -------------------------------- ### Install and start Node.js project (Angular) Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-single-page-app-sign-in.md Use these commands to install dependencies and start the Node.js server for the Angular SPA. Ensure you are in the project directory. ```bash cd angular-spa npm install npm start ``` -------------------------------- ### Install and start Angular SPA Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-single-page-app-sign-in.md Run these commands in your project directory to install dependencies and start the development server for an Angular SPA. ```bash cd 1-Authentication\2-sign-in-angular\SPA npm install npm start ``` -------------------------------- ### Start Node.js Web App Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/quickstart-web-app-sign-in.md Run these commands in the project directory to install dependencies and start the Node.js web server. ```bash cd App npm install npm start ``` -------------------------------- ### Build and Run .NET Verifiable Credentials Sample Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/verified-id/verifiable-credentials-configure-issuer.md Commands to navigate to the project directory, build the ASP.NET Core application, and start the service. ```bash cd active-directory-verifiable-credentials-dotnet\1-asp-net-core-api-idtokenhint dotnet build "AspNetCoreVerifiableCredentials.csproj" -c Debug -o .\bin\Debug\net6. dotnet run ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/tutorial-single-page-app-javascript-prepare-app.md Install Express for the web server, Morgan for request logging, and MSAL.js for authentication. ```powershell npm install express morgan @azure/msal-browser ``` -------------------------------- ### Sign in to VM with Domain Account and Verify Setup Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity/domain-services/join-suse-linux-vm.md This section demonstrates how to connect to a Linux VM using a domain account and verify that the domain join was successful. It includes commands to check the home directory, group memberships, and sudo access. ```bash sudo ssh -l contosoadmin@AADDSCONTOSO.com linux-q2gr.aaddscontoso.com pwd id sudo zypper update ``` -------------------------------- ### Get multiTenantOrganizationMember API response example Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity/multi-tenant-organizations/multi-tenant-organization-configure-graph.md Example response from the Get multiTenantOrganizationMember API, showing tenant details including role and transition status. ```json { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#tenantRelationships/multiTenantOrganization/tenants/$entity", "tenantId": "{memberTenantIdB}", "displayName": "Berlin", "addedDateTime": "2023-11-20T21:22:35Z", "joinedDateTime": null, "addedByTenantId": "{ownerTenantId}", "role": "member", "state": "pending", "transitionDetails": { "desiredState": "active", "desiredRole": "owner", "status": "notStarted", "details": null } } ``` -------------------------------- ### Setup OBO Client App and Blueprint (Bash) Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/agent-id/integrate-aws-bedrock-agent.md Use these Bash scripts to create the SPA app registration and configure OBO permissions on the Blueprint for the On-Behalf-Of flow. The scripts register the SPA redirect URI and grant necessary delegated permissions. ```bash bash ../../scripts/setup-obo-client-app.sh ``` ```bash bash ../../scripts/setup-obo-blueprint.sh ``` -------------------------------- ### Get User Request - SCIM Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity/app-provisioning/use-scim-to-provision-users-and-groups.md Example GET request to retrieve a specific user by their ID using the SCIM protocol. ```http GET /Users/5d48a0a8e9f04aa38008 ``` -------------------------------- ### Example Request Payload for Token Issuance Start Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/custom-claims-provider-reference.md This JSON document provides an example of the request payload sent by Microsoft Entra ID to your custom REST API for a token issuance start event. It includes user profile data and authentication context. ```json { "type": "microsoft.graph.authenticationEvent.tokenIssuanceStart", "source": "/tenants//applications/", "data": { "@odata.type": "microsoft.graph.onTokenIssuanceStartCalloutData", "tenantId": "", "authenticationEventListenerId": "", "customAuthenticationExtensionId": "", "authenticationContext": { "correlationId": "", "client": { "ip": "30.51.176.110", "locale": "en-us", "market": "en-us" }, "protocol": "OAUTH2.0", "clientServicePrincipal": { "id": "", "appId": "", "appDisplayName": "My Test application", "displayName": "My Test application" }, "resourceServicePrincipal": { "id": "", "appId": "", "appDisplayName": "My Test application", "displayName": "My Test application" }, "user": { "companyName": "Casey Jensen", "createdDateTime": "2016-03-01T15:23:40Z", "displayName": "Casey Jensen", "givenName": "Casey", "id": "90847c2a-e29d-4d2f-9f54-c5b4d3f26471", "mail": "casey@contoso.com", "onPremisesSamAccountName": "caseyjensen", "onPremisesSecurityIdentifier": "", "onPremisesUserPrincipalName": "Casey Jensen", "preferredLanguage": "en-us", "surname": "Jensen", "userPrincipalName": "casey@contoso.com", "userType": "Member" } } } } ``` -------------------------------- ### Example TXT Record for Domain Verification Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity/saas-apps/goto-provisioning-tutorial.md This is an example of a TXT record to verify domain ownership for GoTo provisioning. Replace 'main.com' with your actual domain. ```text @ IN TXT "goto-verification-code=00aa00aa-bb11-cc22-dd33-44ee44ee44ee" OR main.com. IN TXT "goto-verification-code=00aa00aa-bb11-cc22-dd33-44ee44ee44ee" ``` -------------------------------- ### Install Microsoft Graph beta cmdlets Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity/users/groups-settings-cmdlets.md Installs the Microsoft Graph beta cmdlets for all users. This is required for examples that use the beta API. ```powershell Install-Module Microsoft.Graph.Beta -Scope AllUsers ``` -------------------------------- ### Get User by userName Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity/app-provisioning/entra-id-scim-api-reference.md This example shows how to retrieve a user by their `userName`. ```APIDOC ## GET /users?filter=userName eq "{userName}" ### Description Retrieves a user based on their `userName`. ### Method GET ### Endpoint https://graph.microsoft.com/rp/scim/users ### Query Parameters - **filter** (string) - Required - Filters the results by `userName`. Example: `userName eq "AdeleV@contoso.com"`. ### Request Example ```http GET https://graph.microsoft.com/rp/scim/users?filter=userName eq "AdeleV@contoso.com" Authorization: Bearer {token} ``` ``` -------------------------------- ### Create and Start a New React Project Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/tutorial-single-page-app-react-prepare-app.md Use these commands to create a new React project named 'reactspalocal', navigate into its directory, and start the development server. A browser window will open automatically. ```bash npx create-react-app reactspalocal cd reactspalocal npm start ``` -------------------------------- ### Create React Project and Install Dependencies Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/tutorial-native-authentication-single-page-app-react-sign-up.md Sets up a new React project with TypeScript and installs necessary packages for native authentication. ```bash npm config set legacy-peer-deps true npx create-react-app reactspa --template typescript cd reactspa npm install ajv npm install react-router-dom npm install ``` -------------------------------- ### Run the Electron application Source: https://github.com/microsoftdocs/entra-docs/blob/main/docs/identity-platform/desktop-quickstart-portal-nodejs-desktop.md Start the Electron desktop application after installing dependencies. ```console npm start ```