如何注册功能应用程序? [英] How do I register a Function App?

查看:68
本文介绍了如何注册功能应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抽象
我正在编写的工作流将读取Calendar事件的扩展属性.此扩展属性包含来自本地数据库的自定义数据.

工作流程
1.用户在Outlook(OWA)中修改日历事件
2. Function App使用
我不确定这个重定向URL".  用户将通过Outlook Web应用程序进行更改.我没有其他要发送用户的网页.








ABSTRACT
The Workflow that I'm writing will read the extended properties of a Calendar event.  This extended property contains custom data from our on-premises database.

THE WORKFLOW
1. User modifies a calendar event in Outlook (OWA)
2. Function App checks for the existence of custom data using the
Outlook Extended Properties REST API reference (version 2.0)
3. If that custom data exists then we update our on-premises database with the new information.

PRE-REQUISITES:
- I must use the Outlook Extended Properties REST API endpoints to retrieve this information.
- In order to use the Outlook Endpoint I must provide an Access Token
- In order to get an access token I must register an Application within AAD

QUESTION:
How do I create and register this application (the azure function)?
Do I select "Web", "Native Application", or "Web API"?

I'm not sure about this "Redirect URL".   A user will be making a change from the Outlook web application.  I have no other web pages to which I'll send the user.








GermánHayles

Germán Hayles

推荐答案

你好根据您的要求,它与通过Azure Function访问Microsoft Graph API非常相似.请查看此博客文章,该文章将使您了解如何实现它-

based on your requirement, it is very similar to accessing Microsoft Graph API through Azure Function. Please check this blog post which will give you idea on how to implement it - Using Microsoft Graph in an Azure Function

您还可以参考此线程,该线程正确建议使用代表流- 

Also you refer to this thread which correctly suggests to use on-behalf-of flow - Azure functions call web api as authorized


这篇关于如何注册功能应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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