Change Azure AD source of authority

VIBNF 26 Reputation points
2020-05-25T15:43:57.73+00:00

Hi,

I have the exact opposite question to this https://learn.microsoft.com/en-us/answers/questions/8143/change-azure-ad-source-of-authority.html

I want to change the authority source from Local Windows Server to Azure AD. I do not have access to AD Connect and so I cannot uninstall it. I simply want to change the authority so that users can log in to O365. At present, those users who have the local server as the authority get the error 'No Microsoft Azure AD Connect Authentication Agent was found'.

Thanks

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,436 questions
0 comments No comments
{count} vote

Accepted answer
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-05-25T18:26:49.7+00:00

    Hi @VIBNF ,

    This error occurs if you have Pass Through Authentication (PTA) enabled for your tenant and there is no PTA Agent available to serve the request. Since you do not have access to AD Connect server, you would need to download the Authentication Agent software and install it on any computer that you want to use for Disabling PTA. It can be a Windows 10 device as well. Open elevated PowerShell and navigate to "C:\Program Files\Microsoft Azure AD Connect Authentication Agent" path and run below commands:

    1. Import-Module .\Modules\PassthroughAuthPSModule
    2. Get-PassthroughAuthenticationEnablementStatus -Feature PassthroughAuth
    3. When prompted for credentials, enter Global Administrator credentials.
    4. Disable-PassthroughAuthentication -Feature PassthroughAuth

    This will disable PTA for the tenant and you will not get No Microsoft Azure AD Connect Authentication Agent was found error.

    Now to change Source of Authority to Azure AD, you need to run below command:

    1. Connect-MsolService and sign-in using Global Administrator account.
    2. Set-MsolDirSyncEnabled -EnableDirsync $False

    After running this cmdlet, you should be able to manage/modify/delete synced accounts via Azure AD.

    -----------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful