Azure Policy is not exactly same but yes serves the purpose of AWS Config as in AWS.
Azure policy is used to create, define and manage policy that runs on Azure.
Azure Ploicy runs an evalution of the resources used, keep track of resources that are not attached to the policy.
Hope this helps!!
If you need to know more about Azure, then you should join Microsoft Azure certification course today.
Thank you!!