1. "we can connect to metadata with sas ID, after changing the password of sasadm@saspw its throwing permission error" However from your log the error is for the user sas. user sas is denied access to metadata server.
"[GetObjectProperties] Error connecting to the metadata server: Access denied. [GetObjectProperties] Host: XXXXXXX [GetObjectProperties] Port: 8561 [GetObjectProperties] User: sas" Are you able to connect to sas metadata server with sasadm@saspw? It is possible that it is not defined in the SAS metadata server. Can you check your Metadata server logs.?
2. "We are facing issue while resting the password with sas ID. SAS is installer account." Typically the password for this account is set at the operating system level and is a pretty straight forward process. Once this is done it needs to be updated in the sas metadata server using sas deployment manager. Most SAS Administrators are aware of this process
what is the issue you are facing resetting the password?