Skip to content

kevinblumenfeld/CloneApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

CloneApp

CloneApp clones the API Permissions of an Azure AD App to the same or another tenant. You export an XML file and import to create a new App.

Can also be imported via a Gist.

Installation

Install-Module AzureAD
Install-Module CloneApp

Syntax

Connect

Connect-AzureAD

Export

Export-AzureADApp -Name TestApp -Path C:\temp\

Import

$params = @{
    Owner               = '[email protected]'
    XMLPath             = 'C:\temp\TestApp-20200808-0349.xml'
    Name                = 'NewApp'
    SecretDurationYears = 10
    ConsentAction       = 'Both'
}
Import-AzureADApp @params

Import from GIST

$params = @{
    Owner               = '[email protected]'
    GithubUsername      = 'kevinblumenfeld'
    GistFilename        = 'testapp.xml'
    Name                = 'NewApp'
    SecretDurationYears = 10
    ConsentAction       = 'Both'
}
Import-AzureADApp @params

Example Usage

example-usage

About

Export and Import Azure AD App API Permissions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published