Hi kaml,
If you have your Agents (Servers) onboarded in the Azure Monitor Virtual Machine Insights, or you have the Dependency Agent running on them (beside the Microsoft Monitoring Agent), then, in the Log Analytics Workspace where the agents are connected, you will get details about each connection that every process running on the agents are initiating / receiving.
All that data is stored in a table called VMConnection, and then you could use a query like this to find out the required info:
VMConnection
| where Direction == "inbound"
| where Protocol == "tcp"
| where DestinationPort == 3389
| summarize FirstEvent = min(TimeGenerated), LastEvent = max(TimeGenerated),NumberOfConnections = count() by Computer, RemoteIp
The above query will tell you for each Agent how many incoming RDP connections (TCP 3389) were detected from each RemoteIP, together with some additional information like when the first and last connections were done.
I hope it helps!
BR,
George