Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 842 Bytes

File metadata and controls

16 lines (10 loc) · 842 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

com.microsoft.graph.beta.serviceprincipals.item.getpasswordsinglesignoncredentials.GetPasswordSingleSignOnCredentialsPostRequestBody getPasswordSingleSignOnCredentialsPostRequestBody = new com.microsoft.graph.beta.serviceprincipals.item.getpasswordsinglesignoncredentials.GetPasswordSingleSignOnCredentialsPostRequestBody();
getPasswordSingleSignOnCredentialsPostRequestBody.setId("5793aa3b-cca9-4794-679a240f8b58");
var result = graphClient.servicePrincipals().byServicePrincipalId("{servicePrincipal-id}").getPasswordSingleSignOnCredentials().post(getPasswordSingleSignOnCredentialsPostRequestBody);