AADInternals

0.8.0

The AADInternals PowerShell Module utilises several internal features of Azure Active Directory, Office 365, and related admin tools.

AADInternals allows you to export ADFS certificates, Azure AD Connect passwords, and modify numerous Azure AD / Office 365 settings not otherwise possible.

DISCLAIMER: Functionality provided through this module are not supported b
The AADInternals PowerShell Module utilises several internal features of Azure Active Directory, Office 365, and related admin tools.

AADInternals allows you to export ADFS certificates, Azure AD Connect passwords, and modify numerous Azure AD / Office 365 settings not otherwise possible.

DISCLAIMER: Functionality provided through this module are not supported by Microsoft and thus should not be used in a production environment. Use on your own risk!

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AADInternals

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Dr Nestori Syynimaa

Copyright

(c) 2018 - 2022 Nestori Syynimaa (@DrAzureAD). Distributed under MIT license.

Owners

Tags

Office365 Microsoft365 Azure AAD Security

Functions

Export-ADFSCertificates Export-ADFSConfiguration Export-ADFSEncryptionKey Set-ADFSConfiguration Get-ADFSPolicyStoreRules Set-ADFSPolicyStoreRules Unprotect-ADFSRefreshToken New-ADFSRefreshToken New-ADFSSelfSignedCertificates Restore-ADFSAutoRollover Update-ADFSFederationSettings Get-ADFSConfiguration Get-AccessToken Get-AccessTokenWithRefreshToken Get-AccessTokenForAADGraph Get-AccessTokenForMSGraph Get-AccessTokenForPTA Get-AccessTokenForEXO Get-AccessTokenForSARA Get-AccessTokenForOneDrive Get-AccessTokenForOfficeApps Get-AccessTokenForAzureCoreManagement Get-AccessTokenForSPO Get-AccessTokenForMySignins Get-AccessTokenForAADJoin Get-AccessTokenForIntuneMDM Get-AccessTokenForCloudShell Get-AccessTokenForTeams Get-AccessTokenForMSCommerce Get-AccessTokenForMSPartner Get-AccessTokenForAdmin Get-AccessTokenForOneNote Unprotect-EstsAuthPersistentCookie Get-AccessTokenUsingIMDS Get-AccessTokenForSPOMigrationTool Get-LoginInformation Read-AccessToken Get-EndpointInstances Get-EndpointIps Get-OpenIDConfiguration Get-TenantId Get-TenantDomains Get-Cache Clear-Cache Add-AccessTokenToCache Export-TeamsTokens Export-AzureCliTokens Export-TokenBrokerTokens Get-TenantDetails Get-Devices Get-UserDetails Get-ServicePrincipals Get-ConditionalAccessPolicies Get-AzureADPolicies Set-AzureADPolicyDetails Set-DomainAuthentication Get-CompanyInformation Get-SPOServiceInformation Get-ServiceLocations Get-CompanyTags Get-ServicePlans Get-Subscriptions Get-Users Get-User Remove-User New-User Set-User Get-GlobalAdmins New-Domain Set-ADSyncEnabled Get-MSPartnerContracts New-SAMLToken New-SAML2Token Get-ImmutableID ConvertTo-Backdoor New-Backdoor Open-Office365Portal Get-SyncConfiguration Set-AzureADObject Remove-AzureADObject Get-SyncObjects Set-UserPassword Reset-ServiceAccount Set-PassThroughAuthenticationEnabled Set-SyncFeatures Get-SyncFeatures Set-DesktopSSOEnabled Get-DesktopSSO Set-DesktopSSO Get-KerberosDomainSyncConfig Get-WindowsCredentialsSyncConfig Get-SyncDeviceConfiguration Join-OnPremDeviceToAzureAD Get-AccessTokenForAADIAMAPI Get-AccessTokenForAzureMgmtAPI New-MOERADomain New-GuestInvitation Get-AzureInformation Get-AADConnectStatus Get-EASAutoDiscover Get-EASAutoDiscoverV1 Get-EASOptions Send-EASMessage Add-EASDevice Set-EASSettings Send-OutlookMessage Open-OWA Get-MobileDevices Get-UnifiedAuditLogSettings Set-UnifiedAuditLogSettings Get-SyncCredentials Update-SyncCredentials Get-SyncEncryptionKeyInfo Get-SyncEncryptionKey Install-PTASpy Remove-PTASpy Get-PTASpyLog Get-OfficeUpdateBranch Set-OfficeUpdateBranch Get-SARAUserInfo Get-SARATenantInfo Get-SPOAuthenticationHeader Get-SPOSiteUsers Get-SPOSiteGroups Get-SPOUserProperties Set-SPOSiteMembers New-KerberosTicket Register-PTAAgent Set-PTACertificate New-OneDriveSettings Get-OneDriveFiles Send-OneDriveFile Get-UserMFA Set-UserMFA New-OTP New-OTPSecret Get-UserMFAApps Set-UserMFAApps Register-MFAApp Register-SyncAgent Get-ProxyAgents Get-ProxyAgentGroups Export-ProxyAgentCertificates Export-ProxyAgentBootstraps Get-DPAPIKeys Get-LSASecrets Get-LSABackupKeys Get-UserMasterkeys Get-LocalUserCredentials Get-SystemMasterkeys Get-AzureClassicAdministrators Grant-AzureUserAccessAdminRole Get-AzureSubscriptions Set-AzureRoleAssignment Get-AzureResourceGroups Get-AzureVMs Invoke-AzureVMScript Get-AzureVMRdpSettings Get-AzureTenants Get-AzureDiagnosticSettingsDetails Set-AzureDiagnosticSettingsDetails Get-AzureDiagnosticSettings Remove-AzureDiagnosticSettings Get-AzureDirectoryActivityLog Get-AzureSignInLog Get-AzureAuditLog Get-TenantAuthPolicy Get-TenantGuestAccess Set-TenantGuestAccess Enable-TenantMsolAccess Disable-TenantMsolAccess Get-RolloutPolicies Get-RolloutPolicyGroups Add-RolloutPolicyGroups Remove-RolloutPolicyGroups Remove-RolloutPolicy Set-RolloutPolicy Get-TenantDomain Invoke-UserEnumerationAsOutsider Invoke-ReconAsOutsider Invoke-ReconAsGuest Invoke-UserEnumerationAsGuest Invoke-ReconAsInsider Invoke-UserEnumerationAsInsider Invoke-Phishing New-InvitationVBA Get-UserPRTToken Get-UserPRTKeys New-UserPRTToken Join-DeviceToAzureAD New-P2PDeviceCertificate Remove-DeviceFromAzureAD Get-DeviceRegAuthMethods Set-DeviceRegAuthMethods Get-DeviceTransportKey Set-DeviceTransportKey New-BulkPRTToken Join-DeviceToIntune Start-DeviceIntuneCallback Set-DeviceCompliant Get-DeviceCompliance Start-CloudShell Get-Error New-Certificate Get-AzureWireServerAddress Get-SkypeToken Set-TeamsAvailability Set-TeamsStatusMessage Search-TeamsUser Send-TeamsMessage Get-TeamsMessages Remove-TeamsMessages Set-TeamsMessageEmotion Find-TeamsExternalUser Get-TeamsAvailability Get-Translation Get-TeamsUserSettings Get-ADUserNTHash Get-ADUserThumbnailPhoto Get-DesktopSSOAccountPassword New-HybridHealthService Get-HybridHealthServices Remove-HybridHealthService Get-HybridHealthServiceMembers New-HybridHealthServiceMember Remove-HybridHealthServiceMember Get-HybridHealthServiceMonitoringPolicies Send-HybridHealthServiceEvents Register-HybridHealthServiceAgent New-HybridHealtServiceEvent Get-HybridHealthServiceAgentInfo Get-SelfServicePurchaseProducts Set-SelfServicePurchaseProduct Get-ComplianceAPICookies Search-UnifiedAuditLog New-MSPartnerDelegatedAdminRequest Get-MSPartnerOrganizations Get-MSPartnerRoleMembers Find-MSPartners Approve-MSPartnerDelegatedAdminRequest Remove-MSPartnerDelegatedAdminRoles Get-MSPartners Get-TenantOrganisationInformation Export-LocalDeviceCertificate Export-LocalDeviceTransportKey Join-LocalDeviceToAzureAD Get-LocalDeviceJoinInfo Set-ProxySettings Start-Speech Get-AdminPortalAccessTokenUsingCBA Get-PortalAccessTokenUsingCBA

Dependencies

This module has no dependencies.

Version History

Version Downloads Last updated
0.8.0 (current version) 512 11/28/2022
0.7.8 1,076 11/4/2022
0.7.7 725 10/21/2022
0.7.6 134 10/20/2022
0.7.4 299 10/17/2022
0.7.3 943 10/1/2022
0.7.1 1,039 9/16/2022
0.7.0 456 9/9/2022
0.6.8 4,988 6/3/2022
0.6.6 4,317 2/15/2022
0.6.5 1,839 12/13/2021
0.6.4 2,307 9/21/2021
0.5.0 333 8/23/2021
0.4.9 970 6/30/2021