创建要从SharePoint Designer工作流中调用的Web Api [英] Creating Web Api to be called from SharePoint designer Workflow

查看:66
本文介绍了创建要从SharePoint Designer工作流中调用的Web Api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在在线使用SharePoint,并且想创建一个可以从SharePoint Designer工作流中调用的Web API.我的Web API的逻辑有效,但是我无法验证我的API.我已经使用了下面博客文章中描述的步骤. 我已经在Azure中注册了我的Web API.并且我在web.config文件中传递令牌值.然后,我正在使用OWIN类进行身份验证.但是这种方法对我不起作用.库克否,有人建议我走在正确的道路上,还是有别的 我可以使用的方法.

I am currently working with SharePoint online and want to create a Web API that can be called from SharePoint Designer Workflow. Logic for my Web API works, but I am not able to authenticate my API. I have used the steps described in in blog post below. I have registered my web api in Azure  and I am passing the token value in the web.config file. I am then using a OWIN class to authenticate. But this methid is not working for me. Coukd nay one suggest if I am on th right path or there is a different method that I can use.

https://blogs.msmvps.com/windsor/2017/03/12/walkthrough-building-a-custom-web-api-for-use-with-sharepoint-online/

https://blogs.msmvps.com/windsor/2017/03/12/walkthrough-building-a-custom-web-api-for-use-with-sharepoint-online/

谢谢

Nishant

推荐答案

OWIN .NET组件适合使用Azure AD中托管的Web API进行身份验证:

OWIN .NET Component is suitable to Authentication with Web API hosted in Azure AD:

ASP.NET Web API-具有Windows Azure AD的安全ASP.NET Web API和Microsoft OWIN组件

谢谢

最好的问候


这篇关于创建要从SharePoint Designer工作流中调用的Web Api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆