Instead of referring to the service principal by its display name, use it's application_id.It isn't overtly stated in the documentation you shared, but you can see it in the example portion.-- Granting a privilege to the service principal fab9e00e-ca...