An issue occurs when you submit a GRDSVC_ function in a SAS session that meets both of the following conditions:
As a result, the function might fail with the following error:
NOTE: Querying grid metadata produced: ERROR: Access denied.
NOTE: SAS application server not found; the local machine will be used.
This issue occurs when the SAS session is connected using a one-time password to a metadata server other than the initially configured metadata server (first host listed in <SASConfig>/Levn/metadataConfig.xml). Instead of reusing the existing connection, the GRDSVC_ function attempts to connect again using the same one-time password. Authentication fails since the password has been consumed.