-
I have a Blazor Server app unsing PnP Core. Contents of my log:
Code for my PnPCoreService.cs:
Configuration of PnPCore in Program.cs:
Probably I have a configuration error, but I don't see where. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@TimDol64 : not sure what goes wrong, I assume your app has all the needed permissions and you did grant them? A fiddler trace capturing the error might also reveal more details about why the request fails. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. I'll try that as soon as I have time to work on this project. Have some deadlines on paid jobs first... |
Beta Was this translation helpful? Give feedback.
-
@jansenbe There was no change in needed permissions. I am still not up to speed will Microsoft Identity, but it seems that the token in the ITokenAcquisitionCache cache gets invalid after an hour.
in the OnInitialized() override on my page. After > 1 hour of inactivity, I would get the error when I reloaded the component. I tried to implement an So, I ended up adding a
|
Beta Was this translation helpful? Give feedback.
@jansenbe There was no change in needed permissions. I am still not up to speed will Microsoft Identity, but it seems that the token in the ITokenAcquisitionCache cache gets invalid after an hour.
I tried to validate this assumption by just calling
in the OnInitialized() override on my page. After > 1 hour of inactivity, I would get the error when I reloaded the component.
I tried to implement an
MicrosoftIdentityConsentAndConditionalAccessHandler
in the calling page, butConsentHandler.HandleException(msalException);
resulted in a 'There is nothing at this address' message.So, I ended up …