tag:blogger.com,1999:blog-4455058894110083658.post630817265370140830..comments2024-02-26T22:59:25.161+00:00Comments on Vardhaman Deshpande: SPFx: Calling AAD secured Azure Function on behalf of a user with AadHttpClientVardhaman Deshpandehttp://www.blogger.com/profile/17919845281919756108noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-4455058894110083658.post-7871731460439803462020-01-24T10:32:49.305+00:002020-01-24T10:32:49.305+00:00Is it possible to display the users AAD security g...Is it possible to display the users AAD security group with this?Big Kinghttps://www.blogger.com/profile/13842844622405672805noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-32381261060992891762019-06-06T13:18:18.232+01:002019-06-06T13:18:18.232+01:00I am using exact same approach but facing issue in...I am using exact same approach but facing issue in Edge browser saying..'TypeError: Invalid argument at Anonymous function' when I try to get method using AadHttpClient. Did you also encountered similar issue. If yes, how did you resolve this? I am using v1.8.2.<br /><br />Thanks in advance.ashishhttps://www.blogger.com/profile/03452776428297290862noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-53424718886680387102019-03-19T09:41:30.361+00:002019-03-19T09:41:30.361+00:00Hi, I am getting this error - "Property '...Hi, I am getting this error - "Property 'aadHttpClientFactory' does not exist on type 'WebPartContext'."Anonymoushttps://www.blogger.com/profile/02408556450224298783noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-10720259463274178382019-01-18T19:20:10.313+00:002019-01-18T19:20:10.313+00:00It is a wonderful post.
I get an issue in the Pr...It is a wonderful post. <br /><br />I get an issue in the Promise of the first .then chain.<br /> Uncaught (in promise) TypeError: Failed to execute 'json' on 'Response': body stream is locked<br /> at e.json (sp-pages-assembly_en-us_9e9449a10a42b2bfe9427253a0d86c6c.js:1134)<br /><br />Its seems like the JSON object in the second .then chain is undefined. However in the console log in the first .then chain I get a Promise and the PromiseValue array has an array of the data.<br /><br />Thank you in advance.MyWorldhttps://www.blogger.com/profile/03148054331593616930noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-1510225187145409432018-11-16T11:13:13.561+00:002018-11-16T11:13:13.561+00:00Nice article.
In my situation, I have separate Azu...Nice article.<br />In my situation, I have separate Azure and Office 365 subscription. <br />When I try to approve the App permissions from SharePoint API Management, I get below error:<br />A service principal with the name ---- could not be found.<br />Parameter name: resourceName"<br /><br />Please suggest. Thank you.Nanddeep Nachanhttps://www.blogger.com/profile/04029060924922682175noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-24185241049583573962018-11-07T06:04:03.866+00:002018-11-07T06:04:03.866+00:00Hi Verdhaman,
Great post and detailed very easy t...Hi Verdhaman,<br /><br />Great post and detailed very easy to follow steps.<br /><br />I have followed the steps and for some reason get 401 unauthorized error. Am I missing anything or any direction would be helpful.<br /><br />Thanks,<br />VishuAnonymoushttps://www.blogger.com/profile/00592714943042014347noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-50786391738615768242018-09-11T14:08:33.281+01:002018-09-11T14:08:33.281+01:00Great article. Might be worth extending this serie...Great article. Might be worth extending this series to discuss the additional security you can apply to the service principal via the Azure AD Enterprise Applications blade. <br /><br />I've used this to tighten up who can call the function by setting what Azure AD groups a user has to be a member of.Anonymoushttps://www.blogger.com/profile/13409458863582941426noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-14754342928414995302018-07-09T19:55:44.909+01:002018-07-09T19:55:44.909+01:00Is the AADHttpclient solution working for IE 11?Is the AADHttpclient solution working for IE 11?Anonymoushttps://www.blogger.com/profile/13871718842467658566noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-19514813033460082312018-05-28T13:55:55.301+01:002018-05-28T13:55:55.301+01:00Hi, I tried to call a secure azure function from m...Hi, I tried to call a secure azure function from my developer Tenant , but always has this error: <br />A service principal with the name "User Details Custom API for SPFx" could not be found. Parameter name: resourceNamesemekhloufhttps://www.blogger.com/profile/01178025275544056681noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-67667662073909624192018-03-16T13:12:32.704+00:002018-03-16T13:12:32.704+00:00Hi, I haven't tried it myself but looks like t...Hi, I haven't tried it myself but looks like this is something similar? <a href="https://twitter.com/PaoloPia/status/965942866655690753" rel="nofollow">https://twitter.com/PaoloPia/status/965942866655690753</a>Vardhaman Deshpandehttps://www.blogger.com/profile/17919845281919756108noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-3922683322951003262018-03-16T12:12:11.633+00:002018-03-16T12:12:11.633+00:00Did you ever try this with an ASP.NET Core 2.0 Web...Did you ever try this with an ASP.NET Core 2.0 Web Api solution and not with an azure function? Because that's what I'm trying....and I can't figure out how I have to configure the authentication etc. for it to work with the AADHttpClienet.Unknownhttps://www.blogger.com/profile/03812626344149694121noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-45283642106543521542018-03-13T16:43:12.129+00:002018-03-13T16:43:12.129+00:00+1!+1!russellhttps://www.blogger.com/profile/07842354819522976179noreply@blogger.comtag:blogger.com,1999:blog-4455058894110083658.post-1639936886856836582018-02-21T01:30:17.186+00:002018-02-21T01:30:17.186+00:00Vardhaman, super. Thanks for sharing. Vardhaman, super. Thanks for sharing. Rajendra Shekhawathttps://www.blogger.com/profile/10694447503258078618noreply@blogger.com