Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pcgeek86/azureadtoken
A PowerShell module that allows you to get a JSON Web Token (JWT) from Azure Active Directory (AAD).
https://github.com/pcgeek86/azureadtoken
Last synced: about 2 months ago
JSON representation
A PowerShell module that allows you to get a JSON Web Token (JWT) from Azure Active Directory (AAD).
- Host: GitHub
- URL: https://github.com/pcgeek86/azureadtoken
- Owner: pcgeek86
- Created: 2014-11-17T22:49:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T23:15:35.000Z (about 10 years ago)
- Last Synced: 2023-04-04T04:36:12.760Z (almost 2 years ago)
- Language: PowerShell
- Size: 598 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AzureADToken
============A PowerShell module that allows you to get a JSON Web Token (JWT) from Azure Active Directory (AAD).
Directions to set up a new ClientId are located here: http://msdn.microsoft.com/en-us/library/azure/dn790557.aspx
Functions
===========This module exports a single function called `Get-AzureADToken`. There are three input parameters:
* TenantId = The Azure Active Directory tenant that will be authenticated against.
* ClientId = The GUID of the client application that is accessing Azure Active Directory.
* RedirectUri = This can be set to virtually anything, since we are accessing Azure AD from a native application, not a web application.When you call the `Get-AzureADToken` command, you will be presented with an interactive login dialog. Simply type your credentials to complete the authentication process, and you will be returned the token object.
Example
=============For an example call to the `Get-AzureADToken` command, check out the `Test-Get-AzureADToken.ps1` file in this Git repository.
**NOTE**: This PowerShell module requires PowerShell version 3.0 or greater.