User Profile
bri992
Copper Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Azure Function - You do not have permission to view this directory or page.
I have created an azure function and required that the authentication to be of type "Function" When I try to view this function in browser like the following: https://myfunctionapp.azurewebsites.net/api/myfunction?code=dJHl33LeP6zYUnHA I got the url above from my azure function when I copied the url of my function, however, I get the error:You do not have permission to view this directory or page. .. I am following a tutorial like in this video:https://youtu.be/uST0CyqRIHA?t=846 Video starts at the time where he made a request to Azure from postman and it was successful. What am I missing here? One thing I can think of is that the key am using is much shorter than the one in the video am not sure why. Thanks.6.2KViews0likes0CommentsBest way to secure Azure Function
So far, I am able to create azure functions that are accessible anonymously. However I'd like to secure those functions so that they only run from a specific Microsoft Flow. I am reading the docs and watching videos and am kinda lost on how to secure azure functions. What I did was I went to my function app, to Authentication / Authorization, and set the "App Service Authentication" to "On". I chose Log in with Azure Active Directory, and choose Advanced. In the client ID, I pasted the client ID that's added in app registrations. However I left the "issuer url" and "Allowed Token Audiences" empty as the docs aren't really clear on what these values should be. However when trying to execute the Azure function this way, am getting "id_token" is not enabled for your app. So I went to my app registration, and clicked on "Token configuration" from the left menu, I clicked on "Add optional claim" and chose ID and checked all the claims, and hit Add. But that didn't solve the issue. Is there a clear documentation of what should be done exactly? A lot of talking in the docs about theories and how authentication works but nothing practical to actually teach people to secure their functions step by step.3.6KViews2likes1CommentUsing PnP provisioning engine results in empty template
I am using the PnP provisioning engine according to https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/introducing-the-pnp-provisioning-engine the article makes it sound so simple that it's just a matter of executing two commands, but when I tried to apply my template, I got just the homepage updated, with broken images, in the webparts and the logo isn't copied, the other site pages aren't copied. I checked the result .xml file from the Get-PnPProvisioningTemplate, and it's missing the site pages and other assets. Are there other resources out there showing how to actually use the provisioning engine since I followed the docs exactly as they say and got a broken result?884Views0likes0Comments
Recent Blog Articles
No content to show