MyCorp.psd1

@{

# Script module or binary module file associated with this manifest.
RootModule = 'MyCorp.psm1'

# Version number of this module.
ModuleVersion = '1.3.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = '502a7fe7-b1ae-4bf5-98db-00831b14ed6f'

# Author of this module
Author = 'MyCorp Security Engineering Team'

# Company or vendor of this module
CompanyName = 'MyCorp Technologies'

# Copyright statement for this module
Copyright = 'MyCorp Technologies. All rights reserved.'

# Description of the functionality provided by this module
Description = 'MyCorp is an automation framework to assess and monitor Microsoft 365 security, compliance, and configuration posture.'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'

# Required modules
RequiredModules = @(
    @{ ModuleName = 'Microsoft.Graph.Authentication'; GUID = '883916f2-9184-46ee-b1f8-b6a2fb784cee'; ModuleVersion = '2.27.0'; },
    @{ ModuleName = 'Pester'; GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71'; ModuleVersion = '0.0.0'; }
)

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'MyCorp.Format.ps1xml'

# Functions to export from this module
# Only 'MyCorp' prefix functions have been renamed to 'MyCorp'. Internal 'Mt' functions are kept as-is for test compatibility.
FunctionsToExport = @(
    'Add-MtTestResultDetail', 'Clear-MtDnsCache', 'Clear-MtExoCache', 'Clear-MtGraphCache',
    'Compare-MtTestResult', 'Connect-MyCorp', 'Convert-MtResultsToFlatObject',
    'ConvertFrom-MailAuthenticationRecordDkim', 'ConvertFrom-MailAuthenticationRecordDmarc',
    'ConvertFrom-MailAuthenticationRecordMx', 'ConvertFrom-MailAuthenticationRecordSpf',
    'Disconnect-MyCorp', 'Get-MailAuthenticationRecord', 'Get-MtAdminPortalUrl',
    'Get-MtAuthenticationMethodPolicyConfig', 'Get-MtConditionalAccessPolicy',
    'Get-MtExo', 'Get-MtGraphScope', 'Get-MtGroupMember', 'Get-MtHtmlReport',
    'Get-MtLicenseInformation', 'Get-MtRole', 'Get-MtRoleMember', 'Get-MtSession',
    'Get-MtUser', 'Get-MtUserAuthenticationMethod', 'Get-MtUserAuthenticationMethodInfoByType',
    'Install-MyCorpTests', 'Invoke-MyCorp', 'Invoke-MtAzureRequest', 'Invoke-MtGraphRequest',
    'Resolve-SPFRecord', 'Send-MtMail', 'Send-MtTeamsMessage',
    # All original test functions preserved below:
    'Test-MtAppManagementPolicyEnabled', 'Test-MtAppRegistrationsWithSecrets',
    'Test-MtCaAllAppsExists', 'Test-MtCaApplicationEnforcedRestriction',
    'Test-MtCaBlockLegacyExchangeActiveSyncAuthentication',
    'Test-MtCaBlockLegacyOtherAuthentication',
    'Test-MtCaBlockUnknownOrUnsupportedDevicePlatform', 'Test-MtCaDeviceCodeFlow',
    'Test-MtCaDeviceComplianceAdminsExists', 'Test-MtCaDeviceComplianceExists',
    'Test-MtCaEmergencyAccessExists', 'Test-MtCaEnforceNonPersistentBrowserSession',
    'Test-MtCaEnforceSignInFrequency', 'Test-MtCaExclusionForDirectorySyncAccount',
    'Test-MtCaGap', 'Test-MtCaGroupsRestricted', 'Test-MtCaLicenseUtilization',
    'Test-MtCaMfaForAdmin', 'Test-MtCaMfaForAdminManagement', 'Test-MtCaMfaForAllUsers',
    'Test-MtCaMfaForGuest', 'Test-MtCaMfaForRiskySignIn', 'Test-MtCaMisconfiguredIDProtection',
    'Test-MtCaReferencedGroupsExist', 'Test-MtCaRequirePasswordChangeForHighUserRisk',
    'Test-MtCaSecureSecurityInfoRegistration',
    'Test-MtCaWIFBlockLegacyAuthentication', 'Test-MtCis365PublicGroup',
    'Test-MtCisaActivationNotification', 'Test-MtCisaAntiSpamAllowList',
    'Test-MtCisaAntiSpamSafeList', 'Test-MtCisaAppAdminConsent',
    'Test-MtCisaAppGroupOwnerConsent', 'Test-MtCisaAppRegistration',
    'Test-MtCisaAppUserConsent', 'Test-MtCisaAssignmentNotification',
    'Test-MtCisaAttachmentFileType', 'Test-MtCisaAttachmentFilter',
    'Test-MtCisaAuditLog', 'Test-MtCisaAuditLogPremium',
    'Test-MtCisaAuditLogRetention', 'Test-MtCisaAuthenticatorContext',
    'Test-MtCisaAutoExternalForwarding', 'Test-MtCisaBlockExecutable',
    'Test-MtCisaBlockHighRiskSignIn', 'Test-MtCisaBlockHighRiskUser',
    'Test-MtCisaBlockLegacyAuth', 'Test-MtCisaCalendarSharing',
    'Test-MtCisaCloudGlobalAdmin', 'Test-MtCisaContactSharing',
    'Test-MtCisaCrossTenantInboundDefault', 'Test-MtCisaDiagnosticSettings',
    'Test-MtCisaDkim', 'Test-MtCisaDlp', 'Test-MtCisaDlpAlternate',
    'Test-MtCisaDlpBaselineRule', 'Test-MtCisaDlpPii', 'Test-MtCisaDmarcAggregateCisa',
    'Test-MtCisaDmarcRecordExist', 'Test-MtCisaDmarcRecordReject',
    'Test-MtCisaDmarcReport', 'Test-MtCisaEmailFilterAlternative',
    'Test-MtCisaExoAlert', 'Test-MtCisaExoAlertSiem',
    'Test-MtCisaExternalSenderWarning', 'Test-MtCisaGlobalAdminCount',
    'Test-MtCisaGlobalAdminRatio', 'Test-MtCisaGuestInvitation',
    'Test-MtCisaGuestUserAccess', 'Test-MtCisaImpersonation',
    'Test-MtCisaImpersonationTip', 'Test-MtCisaMailboxAuditing',
    'Test-MtCisaMailboxIntelligence', 'Test-MtCisaMalwareAction',
    'Test-MtCisaMalwareZap', 'Test-MtCisaManagedDevice',
    'Test-MtCisaManagedDeviceRegistration', 'Test-MtCisaMethodsMigration',
    'Test-MtCisaMfa', 'Test-MtCisaNotifyHighRisk', 'Test-MtCisaPasswordExpiration',
    'Test-MtCisaPermanentRoleAssignment', 'Test-MtCisaPhishResistant',
    'Test-MtCisaPrivilegedPhishResistant', 'Test-MtCisaRequireActivationApproval',
    'Test-MtCisaSafeLink', 'Test-MtCisaSafeLinkClickTracking',
    'Test-MtCisaSafeLinkDownloadScan', 'Test-MtCisaSmtpAuthentication',
    'Test-MtCisaSpamAction', 'Test-MtCisaSpamAlternative', 'Test-MtCisaSpamBypass',
    'Test-MtCisaSpamFilter', 'Test-MtCisaSpfDirective',
    'Test-MtCisaSpfRestriction', 'Test-MtCisaSpoSharing',
    'Test-MtCisaSpoSharingAllowedDomain', 'Test-MtCisAttachmentFilter',
    'Test-MtCisAttachmentFilterComprehensive', 'Test-MtCisAuditLogSearch',
    'Test-MtCisaUnmanagedRoleAssignment', 'Test-MtCisaWeakFactor',
    'Test-MtCisCalendarSharing', 'Test-MtCisCloudAdmin',
    'Test-MtCisCommunicateWithUnmanagedTeamsUsers',
    'Test-MtCisConnectionFilterSafeList', 'Test-MtCisCustomerLockBox',
    'Test-MtCisDkim', 'Test-MtCisGlobalAdminCount',
    'Test-MtCisHostedConnectionFilterPolicy',
    'Test-MtCisInternalMalwareNotification',
    'Test-MtCisOutboundSpamFilterPolicy', 'Test-MtCisPasswordExpiry',
    'Test-MtCisSafeAntiPhishingPolicy', 'Test-MtCisSafeAttachment',
    'Test-MtCisSafeAttachmentsAtpPolicy', 'Test-MtCisSafeLink',
    'Test-MtCisSharedMailboxSignIn', 'Test-MtCisTeamsLobbyBypass',
    'Test-MtCisTeamsReportSecurityConcerns',
    'Test-MtCisThirdPartyAndCustomApps', 'Test-MtCisThirdPartyFileSharing',
    'Test-MtCisZAP', 'Test-MtConditionalAccessWhatIf', 'Test-MtConnection',
    'Test-MtDeviceComplianceSettings', 'Test-MtEidscaControl',
    'Test-MtGroupCreationRestricted', 'Test-MtHighRiskAppPermissions',
    'Test-MtManagedDeviceCleanupSettings', 'Test-MtPimAlertsExists',
    'Test-MtPrivPermanentDirectoryRole', 'Test-MtSpExchangeAppAccessPolicy',
    'Test-MtTeamsRestrictParticipantGiveRequestControl', 'Test-MtUserAccessAdmin',
    'Test-ORCA100', 'Test-ORCA101', 'Test-ORCA102', 'Test-ORCA103',
    'Test-ORCA104', 'Test-ORCA105', 'Test-ORCA106', 'Test-ORCA107',
    'Test-ORCA108', 'Test-ORCA108_1', 'Test-ORCA109', 'Test-ORCA110',
    'Test-ORCA111', 'Test-ORCA112', 'Test-ORCA113', 'Test-ORCA114',
    'Test-ORCA115', 'Test-ORCA116', 'Test-ORCA118_1', 'Test-ORCA118_2',
    'Test-ORCA118_3', 'Test-ORCA118_4', 'Test-ORCA119', 'Test-ORCA120_malware',
    'Test-ORCA120_phish', 'Test-ORCA120_spam', 'Test-ORCA121', 'Test-ORCA123',
    'Test-ORCA124', 'Test-ORCA139', 'Test-ORCA140', 'Test-ORCA141',
    'Test-ORCA142', 'Test-ORCA143', 'Test-ORCA156', 'Test-ORCA158',
    'Test-ORCA179', 'Test-ORCA180', 'Test-ORCA189', 'Test-ORCA189_2',
    'Test-ORCA205', 'Test-ORCA220', 'Test-ORCA221', 'Test-ORCA222',
    'Test-ORCA223', 'Test-ORCA224', 'Test-ORCA225', 'Test-ORCA226',
    'Test-ORCA227', 'Test-ORCA228', 'Test-ORCA229', 'Test-ORCA230',
    'Test-ORCA231', 'Test-ORCA232', 'Test-ORCA233', 'Test-ORCA233_1',
    'Test-ORCA234', 'Test-ORCA235', 'Test-ORCA236', 'Test-ORCA237',
    'Test-ORCA238', 'Test-ORCA239', 'Test-ORCA240', 'Test-ORCA241',
    'Test-ORCA242', 'Test-ORCA243', 'Test-ORCA244', 'Update-MyCorpTests'
)

# No cmdlets exported
CmdletsToExport = @()

# Aliases to export
AliasesToExport = @(
    'Invoke-MtMyCorp',  # replaces Invoke-MtMyCorp
    'Connect-MtGraph',
    'Connect-MtMyCorp',
    'Disconnect-MtGraph',
    'Disconnect-MtMyCorp'
)

PrivateData = @{

    PSData = @{
        Tags = 'Microsoft','365','Cloud','Test','Pester','Entra','AzureAD','Automation','Security','Compliance','MyCorp'
        LicenseUri = 'https://mycorp.example.com/license'
        ProjectUri = 'https://mycorp.example.com'
        IconUri = 'https://mycorp.example.com/logo.svg'
        ReleaseNotes = 'https://mycorp.example.com/releases'
    }

}

HelpInfoURI = 'https://mycorp.example.com/docs/commands/'

}