RealmJoin.psd1

@{
    RootModule        = 'RealmJoin.psm1'
    ModuleVersion     = '2.0.0'
    GUID              = 'ab4cd0b9-3080-40c6-8e34-46d7c880e58c'
    Author            = 'glueckkanja'
    CompanyName       = 'glueckkanja AG'
    Copyright         = '(c) 2025 glueckkanja AG. All rights reserved.'
    Description       = 'PowerShell module for managing RealmJoin (https://www.realmjoin.com/) tenant.'
    PowerShellVersion = '5.1'
    RequiredModules   = @(
        @{ModuleName = 'Az.Accounts'; RequiredVersion = '5.5.2' },
        @{ModuleName = 'Az.Resources'; RequiredVersion = '10.1.0' },
        @{ModuleName = 'Az.Automation'; RequiredVersion = '1.12.1' }
    )

    FunctionsToExport = @(
        'New-RJTenant',
        'Update-RJTenant',
        'Show-RJFeatureInfo',
        'Show-RJInteractiveSetup',
        'Set-RJLogAnalyticsWorkspace',
        'Grant-RJUpdateComplianceWorkspaceAccess'
    )
    CmdletsToExport   = @()

    VariablesToExport = '*'

    AliasesToExport   = @('Complete-RJTenantOnboarding')

    FileList          = @( 'RealmJoin.psm1' )

    PrivateData       = @{
        PSData = @{
            Tags       = @('RealmJoin', 'Configuration', 'RJTenant', 'RJ')
            LicenseUri = 'https://raw.githubusercontent.com/realmjoin/realmjoin-psmodule/main/LICENSE'
            ProjectUri = 'https://www.realmjoin.com/'
            IconUri    = 'https://raw.githubusercontent.com/realmjoin/realmjoin-psmodule/main/realmjoin-icon.png'
            ReleaseNotes = @'
- BREAKING: sign-in now uses the Azure PowerShell app (Connect-AzAccount) instead of Microsoft Graph PowerShell
- Added Set-RJLogAnalyticsWorkspace to deploy a Log Analytics Workspace with custom tables and Data Collection Rules
- Added Grant-RJUpdateComplianceWorkspaceAccess to grant the RealmJoin Azure Resources service principal Log Analytics Reader access on an Update Compliance workspace
- Added Azure resource deployment support (ARM templates shipped with the module) and a Log Analytics option in the interactive setup
- Module dependencies swapped from Microsoft.Graph.* to Az.Accounts, Az.Resources, and Az.Automation (auto-installed)
- Fixed Azure context cache selection reusing a context from the wrong tenant/subscription
'@

        }
    }
    HelpInfoURI       = 'https://docs.realmjoin.com/'
}