Category "active-directory"

VMSS registration in Custom DNS

We’re creating a VMSS and we use a custom DNS with extending AD from on-premises, but we are not sure how to register the VMs as the scale set scales out,

How to retrieve Active Directory group policy maximum password age using LDAP

I would like to retrieve the group policy regarding to passwords from the company Active Directory, but I cannot find any info, how to filter my search to find

How do I solve error with Active Directory Search using user name

Im using the the below C# code to try search active directory for a user's email address by passing username. but this returns error using System.Text; using S

Do we need Active Directory Domain Controller to run any PowerShell commands?

I am trying to run a Powershell script which calls Get-ADUser command. Something similar to this question Powershell Active Directory commands not working in Po

Show "Microsoft Active Directory" information table in WordPress

I have a spreadsheet in Microsoft Active Directory Now I want to display the information in this table in WordPress I came across this plugin according to the s

Powershell Creating Password Expiration Report

I am trying to create a password expiration report that runs once a week and I want to grab 7 days of it at a time. The current script that I have been creatin

When generating a unique username in Active Directory, numbers do not increment correctly

I am updating a script we use to generate new users and update users based on a csv we download from a feed every night. I need to generate a unique username fo

How to Bind asynchronously with LdapConnection

While asynchronously requesting the execution of LDAP operations via BeginSendRequest and EndSendRequest is pretty straightforward, I was not able to identify h

Unable to retrieve cross domain users with get-adgroupmember -recursive

I am tasked to provide a list of AD group members from a number of AD groups and export it to .csv. If any of the AD groups in question has even one cross-domai

Search Outlook Global Address List Asynchronously

I want to; Search the Global Address List of MS Outlook Using an input, filterStr To retrieve all items asynchronously that match a criteria satisfying Contac

What is a more modern .NET library to use with Active Directory than System.DirectoryServices.AccountManagement?

We are looking to update our .NET C# codebase with a more modern library to use with Active Directory than System.DirectoryServices.AccountManagement. Anything

Java: Connect to Active Directory via serverless binding?

I have to write some code in Java (technically Groovy, but Java is more common) that will connect to Active Directory and find which groups a user belongs to.

Tomcat Manager - Active Directory Authentication

I want to know how it's possible to use Active directory, for access roles on tomcat manager app? The idea is to make possible accees to http://localhost:8080/m

How can I pull Mail Contact groups for each contact with powershell?

I am trying to create a script to pull contact groups and put them in an excel sheet. Here is what I have so far: Import-Module ActiveDirectory Get-ADUser -Sea

Reading the SECURITY_ENABLED flag of Group in Active Directory

I'm trying to read the SECURITY_ENABLED flag of a groups groupType property. The problem is that the value I retreive by using DirectoryEntry entry... entry.P

.NET Core 6 Windows auth and Active Directory group based permissions

I am learning dotnet core 6, and making application for Intra. I need to get user data (user name and surname, and user groups) from company's Active Directory

List users from specific groups

Good morning all, I am currentlycovering my line manager. And I need to modify an existing to VBScript, to pull users from specific groups in AD (Commercial, F