cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14651
Views
0
Helpful
16
Replies

WebEX API CreateUser issue

s.uchvatov
Level 1
Level 1

Hello,

I trying to create user following this doc  Cisco WebEx XML API

But I get failure response with message "Error setting up or modifying user profile" and exceptionID 030105

(CreateMeeting works well)

What I doing wrong? Please help

Request:

<?xml version="1.0" encoding="UTF-8"?> 

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 

   <header> 

   <securityContext> 

   <email>sample@email</email> 

   <password>samplepassword</password> 

   <siteName>sitename</siteName> 

   </securityContext> 

   </header> 

   <body> 

   <bodyContent xsi:type="java:com.webex.service.binding.user.CreateUser"> 

   <active>ACTIVATED</active> 

   <email>host1@sitename.com</email> 

   <password>samplehostpassword</password> 

   <webExId>host1</webExId> 

   <firstName>fn</firstName> 

   <lastName>ln</lastName> 

   <privilege> 

   <host>true</host> 

   </privilege> 

   </bodyContent> 

   </body> 

</serv:message>


Response:

<?xml version="1.0" encoding="UTF-8"?> 

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" 

   xmlns:com="http://www.webex.com/schemas/2002/06/common" 

   xmlns:use="http://www.webex.com/schemas/2002/06/service/user"> 

   <serv:header> 

   <serv:response> 

   <serv:result>FAILURE</serv:result> 

   <serv:reason>Error setting up or modifying user profile</serv:reason> 

   <serv:gsbStatus>PRIMARY</serv:gsbStatus> 

   <serv:exceptionID>030105</serv:exceptionID> 

   </serv:response> 

   </serv:header> 

   <serv:body> 

   <serv:bodyContent/> 

   </serv:body> 

</serv:message>

1 Accepted Solution

Accepted Solutions

Your site appears to be integrated with Spark Common Identity, users and credentials are stored in Spark, not WebEx and your configuration with WebEx might not be fully functional for two way functionality.. that error message can be found in the release notes

When an API call to a Spark Meet with WebEx site fails or returns an unexpected response, the response contains the newly introduced exception: "Error setting up or modifying user profile"


though the release notes for this functionality indicates CreateUser may be possible w/the integration fully setup correctly, however you cannot create activated users and they will have to follow a link in their email to finish setup if possible.. Try removing all but the minimum required elements from your request.

View solution in original post

16 Replies 16

ryanhunt
Level 5
Level 5

Is this site using SSO/SAML external Authentication? If so then you cannot use this API Call.

Is this site using SSO/SAML external Authentication? If so then you cannot use this API Call.

No, SSO is disabled

Are the credentials in securityContext a Site Admin? Are you sure no user with that webexID exists? (even deactivated)

Yes, I tried two admin accounts, and few webexIDs. It does not help.

What means exception code 030105? I didn't find any info

Whats your sitename?

Ryan Hunt wrote:

Whats your sitename?

beincourt

You definitely do have a SSO/Common Identity configuration enabled for this site, as such you cannot create users via the WebEx API.

If I go to beincourt.webex.com and click Login it redirects you to an external SSO login page.. attached is what a standard non-sso login page currently looks like:

Screen Shot 2017-09-13 at 4.45.31 PM.png

When I click sign in on beincourt.webex.com I redirects to Sign In - Cisco WebEx

I see "doSSO" in url on signin page, but in the admin panel I have disabled SSO option. Why this happens?

screenshots attached

oejTjrcV3MsHNv

eecwFCqG3MsHR7

Your site appears to be integrated with Spark Common Identity, users and credentials are stored in Spark, not WebEx and your configuration with WebEx might not be fully functional for two way functionality.. that error message can be found in the release notes

When an API call to a Spark Meet with WebEx site fails or returns an unexpected response, the response contains the newly introduced exception: "Error setting up or modifying user profile"


though the release notes for this functionality indicates CreateUser may be possible w/the integration fully setup correctly, however you cannot create activated users and they will have to follow a link in their email to finish setup if possible.. Try removing all but the minimum required elements from your request.

Thanks for a link, it very helped. Now I see I can't use createUser method as I want. Spark requires email verification, so it can't satisfy me.

What options I have? I need start meetings from few different hosts, host creation should be dynamic.

Can I disable spark or create webex account like on your screenshot from message #7 (with standard non-sso login page)?

Can you explain why you need dynamic hosts? They should be persistent accounts.

I need to create host for the user when he register in my service. User should have ability to create meetings and invite attendees.

I cannot allow all users in me service use same webEx account due to security reasons. Each user must not see meetings of other users.

You'll want a Standalone WebEx Site, I'm not sure if Spark Integration can be disabled.. could require a new site, you'll want to talk to your CSM about this.

jerry.waldorf
Level 1
Level 1

I have signed up for the trial account and am receiving the same error (see below).  I am ok with the user receiving an email message to register.  What do I need to do to make the createUser call work?

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user">

    <serv:header>

        <serv:response>

            <serv:result>FAILURE</serv:result>

            <serv:reason>Error setting up or modifying user profile</serv:reason>

            <serv:gsbStatus>PRIMARY</serv:gsbStatus>

            <serv:exceptionID>030105</serv:exceptionID>

        </serv:response>

    </serv:header>

    <serv:body>

        <serv:bodyContent/>

    </serv:body>

</serv:message>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: