IF you see "You are not authorized to use this service"

rated by 0 users
This post has 3 Replies | 3 Followers

lgersing
Not Ranked
Posts 17
Points 355
CS Developers
By: lgersing
Posted: Tue, May 20 2008 1:05 PM

IF you see "You are not authorized to use this service" then this means that the currently logged on SharePoint user does not have the same name in  Community Server. This is a bug and is being noted. 

To temporarily work around, have the user create an account in Community Server with the same name as the username they have in AD.

Leon Gersing
Telligent System
Software Development Eng
Community Server Product Team
a.k.a.:fallenrogue (twitter.com/fallenrogue)(fallenrogue.com)

 
Brad Turner
Not Ranked
Posts 18
Points 270
By: Brad Turner
Posted: Wed, May 21 2008 5:10 PM In reply to

I did run into this while testing - I had a page open in SharePoint and authenticated properly with the web part visable.  I deleted my account from the CS site, refreshed the page and got this error.  Refreshing (F5/Shift-F5) didn't help, I had to open a new browser, re-authN and then it recreated my account and I could load the page properly.

-Brad Turner http://www.identitychaos.com

 
DocYahoo
Not Ranked
Posts 4
Points 80
By: DocYahoo
Posted: Wed, Jun 18 2008 5:38 PM In reply to

I'm getting the "You are not authorized to use this service" message when I call the CS 2008 API.  Any idea what is causing this? I double checked I'm using the correct site url, username and apikey.

Thanks in advance.

 
  • Filed under: |
  • Post Points: 20 |
lgersing
Not Ranked
Posts 17
Points 355
CS Developers
By: lgersing
Posted: Thu, Jun 19 2008 9:54 AM In reply to

This error can occur from a few issues. Here are some to check:

1. Is REST Enabled in Community Server

2. Does the username that is configured in SharePoint belong to the role that can access the REST service. If not add them in Community Server

3. Does the user account that you're using in SharePoint exist in Community Server. Some actions, since you'll be authenticating via your logon name in SharePoint will not work unless your usernames match. (MayPreview assumes AD to AD account names without the domain)

Try those and let me know if it works. thanks!

Leon

Leon Gersing
Telligent System
Software Development Eng
Community Server Product Team
a.k.a.:fallenrogue (twitter.com/fallenrogue)(fallenrogue.com)

 
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com