Handling Mam policy along with MDM policy