You need to either provide the idScope on the @Path of the interface.
Or when it is a constant, in application.props:
idScope=${ID_SCOPE:123456}
quarkus.rest-client.dps-api.url=https://global.azure-devices-provisioning.net/${idScope}
Anyways, 404 indicates that your url is wrong.