Hi @securethelogs,
Azure portal uses Graph api-version=1.61-internal and PowerShell uses Graph api-version=1.6. There is no difference in Port number, both uses port 443 (HTTPS).
Yes, User Agent will be different in both cases but I don't think there is a way to apply any sort of restrictions on the basis of User Agent string via CA policy.
- User-Agent for Azure Portal accessed via Google Chrome: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36 Edg/83.0.478.37
- User-Agent for PowerShell: Swagger-Codegen/1.4.0.0/csharp
Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.