AutoGraphPS.psd1
# # Module manifest for module 'AutoGraphPS' # # Generated by: adamedx # # Generated on: 9/24/2017 # @{ # Script module or binary module file associated with this manifest. RootModule = 'autographps.psm1' # Version number of this module. ModuleVersion = '0.25.0' # Supported PSEditions CompatiblePSEditions = @('Desktop', 'Core') # ID used to uniquely identify this module GUID = '524a2b17-37b1-43c2-aa55-6c19692c6450' # Author of this module Author = 'Adam Edwards' # Company or vendor of this module CompanyName = 'Modulus Group' # Copyright statement for this module Copyright = '(c) 2019 Adam Edwards.' # Description of the functionality provided by this module Description = 'CLI for automating the Microsoft Graph' # Minimum version of the Windows PowerShell engine required by this module PowerShellVersion = '5.1' # Name of the Windows PowerShell host required by this module # PowerShellHostName = '' # Minimum version of the Windows PowerShell host required by this module # PowerShellHostVersion = '' # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # DotNetFrameworkVersion = '' # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # CLRVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module # RequiredModules = @() # Assemblies that must be loaded prior to importing this module # RequiredAssemblies = @() # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @('') # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module # FormatsToProcess = @() # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @( @{ModuleName='AutoGraphPS-SDK';ModuleVersion='0.12.0';Guid='4d32f054-da30-4af7-b2cc-af53fb6cb1b6'} @{ModuleName='scriptclass';ModuleVersion='0.20.1';Guid='9b0f5599-0498-459c-9a47-125787b1af19'} ) # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. FunctionsToExport = @( 'Find-GraphPermissions', 'Get-Graph', 'Get-GraphChildItem', 'Get-GraphItemWithMetadata', 'Get-GraphLocation', 'Get-GraphType', 'Get-GraphUri', 'New-Graph', 'Remove-Graph', 'Set-GraphLocation', 'Set-GraphPrompt', 'Show-GraphHelp', 'Update-GraphMetadata' ) # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() # Variables to export from this module VariablesToExport = @( 'GraphAutoPromptPreference' 'GraphMetadataPreference' 'GraphPromptColorPreference' 'GraphVerboseOutputPreference' # From AutoGraphPS-=SDK 'LastGraphItems' # From AutoGraphPS-=SDK ) # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. AliasesToExport = @('gcd', 'gg', 'ggu', 'ggci', 'gls', 'gwd') # DSC resources to export from this module # DscResourcesToExport = @() # List of all modules packaged with this module # ModuleList = @('') # List of all files packaged with this module FileList = @( '.\AutoGraphPS.psd1', '.\autographps.psm1', '.\src\aliases.ps1', '.\src\cmdlets.ps1', '.\src\graph.ps1', '.\src\client\LocationContext.ps1', '.\src\cmdlets\Find-GraphPermissions.ps1', '.\src\cmdlets\Get-Graph.ps1', '.\src\cmdlets\Get-GraphChildItem.ps1', '.\src\cmdlets\Get-GraphItemWithMetadata.ps1', '.\src\cmdlets\Get-GraphLocation.ps1', '.\src\cmdlets\Get-GraphType.ps1', '.\src\cmdlets\Get-GraphUri.ps1', '.\src\cmdlets\New-Graph.ps1', '.\src\cmdlets\Remove-Graph.ps1', '.\src\cmdlets\Set-GraphLocation.ps1', '.\src\cmdlets\Set-GraphPrompt.ps1', '.\src\cmdlets\Show-GraphHelp.ps1', '.\src\cmdlets\Update-GraphMetadata.ps1', '.\src\cmdlets\common\ContextHelper.ps1', '.\src\cmdlets\common\GraphParameterCompleter.ps1', '.\src\cmdlets\common\GraphUriParameterCompleter.ps1', '.\src\cmdlets\common\LocationHelper.ps1', '.\src\cmdlets\common\PermissionHelper.ps1', '.\src\cmdlets\common\SegmentHelper.ps1', '.\src\common\PreferenceHelper.ps1', '.\src\common\GraphAccessDeniedException.ps1', '.\src\metadata\metadata.ps1', '.\src\metadata\Entity.ps1', '.\src\metadata\EntityEdge.ps1', '.\src\metadata\EntityGraph.ps1', '.\src\metadata\EntityVertex.ps1', '.\src\metadata\GraphBuilder.ps1', '.\src\metadata\GraphCache.ps1', '.\src\metadata\GraphDataModel.ps1', '.\src\metadata\GraphManager.ps1', '.\src\metadata\GraphSegment.ps1', '.\src\metadata\SegmentParser.ps1', '.\src\metadata\UriCache.ps1' ) # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. Tags = @('MSGraph', 'Graph', 'AADGraph', 'Azure', 'MicrosoftGraph', 'Microsoft-Graph', 'MS-Graph', 'AAD-Graph', 'GraphExplorer', 'REST', 'CRUD', 'GraphAPI', 'autograph', 'poshgraph', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Linux', 'MacOS') # A URL to the license for this module. LicenseUri = 'http://www.apache.org/licenses/LICENSE-2.0' # A URL to the main website for this project. ProjectUri = 'https://github.com/adamedx/poshgraph' # A URL to an icon representing this module. IconUri = 'https://raw.githubusercontent.com/adamedx/poshgraph/master/assets/PoshGraphIcon.png' # Adds pre-release to the patch version according to the conventions of https://semver.org/spec/v1.0.0.html # Requires PowerShellGet 1.6.0 or greater # Prerelease = '-preview' # ReleaseNotes of this module ReleaseNotes = @' # AutoGraphPS 0.25.0 Release Notes This release is incorporates fixes for regressions introduced in the previous release by the inclusion `AutoGraphPS-SDK` `0.11.1` by updating that dependency to a new version. It also includes minor features from that version. This release also includes release note omissions from the previous `0.24.0` release. ## New dependencies * AutoGraphPS-SDK 0.12.0 ## Breaking changes None. ## New features New features in this release originate from the updated `AutoGraphPS-SDK` dependency: * Added the `ReplyUrl` alias to the `AppRedirectUri` parameter of `Get-GraphToken`, `Connect-Graph` and `New-GraphConnection` * `Get-GraphConnectionInfo` now includes a connection id guid property in its output to identify each unique connection ## Fixed defects The bug fixes in this release originate from the updated `AutoGraphPS-SDK` dependency: * `Test-Graph` command regression prevented targeting clouds other than `Public` * `Connect-Graph` and `New-GraphConnection` regressions caused certain parameter sets to require all parameters * Fix race condition with `Connect-Graph` due to MSAL changes with integrated token cache: `Connect-Graph` created a new token, which was immediately invalidated, requiring a reconnect when used with a command. * Fix error output from `Get-GraphToken` due to invalid `$GraphEndpointUri` variable, which also prevented the `GraphResourceUri` parameter from functioning correctly. ## Addendum: omissions from 0.24.0 release notes These release notes were omitted from the previous release because they actually describe functionality originating in a dependency rather than this module. Nevertheless, that functionality is experienced by the user simply as part of this module, so the notes should have been included so that users could understand and assess the new behavior including breaking changes. These notes are included below as a correction. ### Breaking changes * The `Connect-Graph`, `New-GraphConnection`, and `Get-GraphToken` commands now have the same parameter names where the parameters represent the same thing. * Some command parameter names have been changed for clarity * The `GrantedPermissions` parameter has been replaced with two new parameters in several commands that could take both app-only permissions and delegated permissions: `ApplicationPermisisons` and `DelegatedUserPermissions` * The `Permissions` parameter in several commands auto-completed to both app-only and delegated permissions, but since only delegated permissions can be specified at runtime for these commands, auto-complete now only completes delegated permissions * The `NoninteractiveAppOnlyAuth` parameter of several commands is no longer necessary -- the presence of `Confidential` and `ApplicationPermissions` parameters indicates the state this parameter represented * The `ConsentForTenant` flag had an ambiguous meaning and was replaced by `ConsentAllUsers` for application management and consent-related commands ### New features * App-only consent: The code defect in the MS Graph REST API blocking app-only consent was addressed, so now `New-GraphApplication`, `Set-GraphApplicationConsent`, `Get-GraphApplicationConsent`, and `Remove-GraphApplicationConsent` have been updated to support it * In particular `New-GraphApplication` automatically consents confidential app-only apps because the Graph API for doing so is now fixed. Therefore the command o longer displays a warning when creating instructing the user to manually consent the app. * `Connect-Graph` now returns `GraphConnectionInfo` object * `Connect-Graph`, `New-GraphConnection`, and `Get-GraphToken` now support the new `GraphResourceUri` parameter which allows the caller to use a resource URI that is not the same as the actual graph endpoint used for REST. This is useful for test scenarios, such as those where a proxy is used to get to Graph -- the resource URI for token acquisition can be set to `https://graph.microsoft.com` using the `GraphResourceUri` parameter, and the endpoint can be the proxy in front of Graph. ### Fixed defects * Used `ErrorAction Ignore` instead of `SilentlyContinue` in numerous places throughout the code to avoid error stream pollution * General error stream pollution cleanup '@ } # End of PSData hashtable } # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. # DefaultCommandPrefix = '' } |