sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Get started with SharePoint webhooks Documentaion

Open WhereCodeGoesToDie opened this issue 9 years ago • 6 comments

Category

Question Insufficient

When working through the article Get started with SharePoint webhooks. The section on "Step 1: Register a Microsoft Azure Active Directory (AD) application for Postman client" is woefully inadequate. All the other steps take you through step by step but this just leaves you on your own. Do you create a new Azure App? What are the setting that is asks for e.g. SIGN-ON URL, APP ID URI? When you need to "To access SharePoint Online, it's important to grant the Azure AD app permissions to the Office 365 SharePoint Online application and select the read and write items and lists in all site collections permission." Is this Application Permissions or delegated.

A link off to an out of context article is not sufficient. I am now stuck in the middle of the article trying to connect Postman which is failing without knowing if the Azure AD connection is correct.

WhereCodeGoesToDie avatar Jan 09 '17 16:01 WhereCodeGoesToDie

@WhereCodeGoesToDie The idea is that we don't want to duplicate content and store the same content and maintain two versions of such article. And thus the reason to provide a link to the AAD doc. What exactly is failing? Are you able to authenticate to your AAD tenant from Postman initially to get the token?

The paragraph states what you need to input as well:

In order for the Postman client to communicate with SharePoint, you will need to register an Azure AD app in your Azure AD tenant associated with your Office 365 tenant.

To access SharePoint Online, it's important to grant the Azure AD app permissions to the Office 365 SharePoint Online application and select the read and write items and lists in all site collections permission.

Enter the following endpoint as the Reply (Redirect) URL for the app. This is the endpoint to which Azure AD will send the authentication response; including the access token if authentication was successful.

https://www.getpostman.com/oauth2/callback

The following properties are required in later steps, so copy them to a safe place:

  • Client Id
  • Client Secret

chakkaradeep avatar Jan 09 '17 18:01 chakkaradeep

@chakkaradeep thank you very much for your reply. I would still ascertain that the relevant parameters to set when creating the AAD are not given. What is the SIGN-ON URL or the APP ID URL required to create the AAD? What section of the document linked to are relevant?

I have followed the instructions given and when I try to connect via Postman I am given "Could not complete OAuth Login" I am able to connect to the SharePoint Online site using the given credentials.

WhereCodeGoesToDie avatar Jan 10 '17 09:01 WhereCodeGoesToDie

@chakkaradeep here is a brilliant example of what the current article is missing Get started with office 365 management apis

WhereCodeGoesToDie avatar Jan 11 '17 15:01 WhereCodeGoesToDie

Thanks for the feedback @WhereCodeGoesToDie. We are investigating this issue.

amishra0909 avatar May 08 '17 23:05 amishra0909

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 3 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open or submit a new issue.

ghost avatar Dec 29 '21 14:12 ghost

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Jan 06 '22 06:01 ghost