question

Paul Sherer avatar image
Paul Sherer asked Paul Sherer answered

Azure AD and Auto Provisioning

ive followed this guide to setup Auto Provisioning for a few test users.

Provisioning logs in Azure Active Directory - Microsoft Entra | Microsoft Learn

This has worked for two users who already existed in Ring Central, but the third who is a new user failed with this error


StatusCode: BadRequest Message: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details. Web Response: { "schemas" : [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status" : "400", "scimType" : "invalidValue", "detail" : "Parameter [extension.contact.businessAddress.state] value is invalid." }. This operation was retried 0 times. It will be retried again after this date:


Does anyone know why this is failing ?

Id like to be able to assign different roles in Ring Central based on the department and country field in Azure AD, is this possible ? There's nothing in the MS Guide to explain how I link this in ring central once the user is auto provisioned.

Is there a way to auto assign a licence to the user when they are provisioned from Azure AD ?

Cant find much documentation from Ring Central on this, ive followed the SSO guide and that is working for our test users


integrations
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Paul Rarey avatar image
Paul Rarey answered

Hey @Paul Sherer

The error contains an odd property name. It is not represented in SCIM Core or Enterprise schemas. May very well be an RC SCIM Schema extension. If so, that property does not correctly reflect "RingCentral" within its name context.

Are you using the RC Azure Gallery app?

A few Gallery apps present SCIM into the AzureAdmn > Enterprise Apps > App > Provisioning setup/config. But do not call the SCIM.Client's SCIM APIs. Rather the vendors proprietary APIs.

{
"schemas" : [ "urn:ietf:params:scim:api:messages:2.0:Error" ],
"status" : "400",
"scimType" : "invalidValue",
"detail" : "Parameter [extension.contact.businessAddress.state] value is invalid."
}.

Snippet from Office API Reference | RingCentral Developers

scimv2-addresses.png

-----------------------------------------------------------------------------------------
JSON snippet from above webform (RC's Postman-like tool).

{

"addresses": [

{

"country": "United States",

"locality": "San Ramon",

"postalCode": "99191",

"region": "California",

"streetAddress": "555 myStreetName Road",

"type": "work"

}

]

}

Here is a mapping example for State from an app with custom schema (our Azure tenant)

1667408437237.png


1667408437237.png (17.4 KiB)
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Paul Rarey avatar image
Paul Rarey answered

See this Question for more detail ... not really an "answer" though.
SCim azure integration issue with bad parameters

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Paul Sherer avatar image
Paul Sherer answered

Thanks for the reply. Yes im using the Ring Central app from the Azure gallery. I followed the SSO guide to get the app added.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys