Unable to get user data for in AWS AD service by api.

0

Hi Team,

I'm facing issue with getting user details like mail and other information with AWS managed AD. I'm following https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ds.html but didn't found any api/method to get user data. What is requirement ? I need to change user password and notify user on mail and used below method to change password but unable to get user mail to notify.

response = client.reset_user_password(
    DirectoryId='string',
    UserName='string',
    NewPassword='string'
)

Please help or suggest approach to resolve it. Thanks!

feita há 7 meses190 visualizações
1 Resposta
0

Hello there,

I understand you would like to get user data for in AWS AD service by API.

Unfortunately, getting Domain User info is not possible using API. These are the list of actions that can be done using an API call https://docs.aws.amazon.com/directoryservice/latest/devguide/API_Operations.html

To get user info, you can alternatively use Power Shell Commands but you would have to run on Domain Controller or from a remotely domain joined system https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-aduser?view=windowsserver2022-ps

AWS
respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas