function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srinivasa Practicesrinivasa Practice 

While I am extracting the profiles, I am not getting full profile meta data rather getting only <loginIpRanges> and <serPermissions> after using ANT migration

While I am extracting the profiles, I am not getting full profile meta data rather getting only <loginIpRanges> and <serPermissions> after using ANT migration
jp1234jp1234
Profile migration is weird and only includes permission relates to components it is include with as part of the package.  So for example, if you want to get Account permission for your profile, you have to construct your package file in following way:
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Account</members>
        <name>CustomObject</name>
    </types>
    <types>
        <members>*</members>
        <name>Profile</name>
    </types>
</package>