Wednesday 12 May 2021

How to Search Admin Audit log in Office 365 against a mailbox

 Go to 

Audit log search - Security & Compliance (office.com)

on the right side Select Search ---> Audit log Search---->in Search Activities "Show activities for all activities"

set Start and End dates

in Users box enter the mailbox/email address on which you want the activities performed.

in file, folder, or Site you may enter required details, even may be the subject of the email.

then it may take some time to complete the query  and then you may download the result of the search in excel sheet or can view in the same window here.

it will show all the activities performed on the mailbox.


Monday 10 May 2021

Resolved: An attempt to resolve the DNS name of a domain controller in the domain being joined has failed. Please verify this client is configured to reach a DNS server that can resolve DNS names in the target domain.

Environment Detail:

A friend of mine was trying to join a Windows server 2012 R2 Machine to Active Directory but was getting failed with the following error.

Error: 

The following error occurred attempting to join the domain "mydomain.com":

An attempt to resolve the DNS name of a domain controller in the domain being joined has failed. Please verify this client is configured to reach a DNS server that can resolve DNS names in the target domain. For information about network troubleshooting, see windows Help.



Troubleshooting:

Tried enough to troubleshooting, check network , ports, Active directory, DNS but no luck, at last the following solution, resolved this issue.

Solution:

Go to the properties of the network card--->internet protocol Version 4(TCP/IPv4)--->Properties---->Advanced--->DNS tab---->select Append these DNS suffixes (in order): and enter the name of the domain (mydomain.com) and click to save the changes.

Further findings:

The Active directory domain name (mydomain.com), is the same name (mydomain.com) as the website of the company accessible on internet. 

The client machine has internet access.