mitchelldirt
mitchelldirt
CC#
Created by mitchelldirt on 1/13/2024 in #help
SignalR Server ERR_CERT_AUTHORITY_INVALID
Restarted Rider IDE today and it noified me my Developer SSL Cert hasn't been setup properly and so I hit set up and then everything started working. Still unsure why Microsoft Edge didn't care, but this is fixed now
2 replies
CC#
Created by mitchelldirt on 9/8/2023 in #help
βœ… C# Graph API Client
Ooooo thanks for all these resources - you were right about the permissions. After another closer look I had the right name for the permission, but I had the SharePoint API Sites.ReadWrite.All NOT the Graph API one As soon as I added in the Graph API Sites.ReadWrite.All permission it started working Thanks for time and help on this πŸ™‚
17 replies
CC#
Created by mitchelldirt on 9/8/2023 in #help
βœ… C# Graph API Client
Since I’m using the client secret credential I didn’t find a property on there for access token. I’ll look into it in a bit, but I’m pretty sure it doesn’t provide me with one
17 replies
CC#
Created by mitchelldirt on 9/8/2023 in #help
βœ… C# Graph API Client
,Ahhhh yes I'm definitely using app permissions right now. The reason being is that this is supposed to be an automated process and shouldn't require a user to sign in
17 replies
CC#
Created by mitchelldirt on 9/8/2023 in #help
βœ… C# Graph API Client
I added the permissions as an application permission and got it approved by an admin. When you say "was it created as delegate or app", does that mean that when creating the app you select what kind of app it will be between those two?
17 replies
CC#
Created by mitchelldirt on 9/8/2023 in #help
βœ… C# Graph API Client
Azure App with Sites.FullControl.All permission enabled Then in the code above I show how I implement the client I am able to query for all users, but not for the items in a list
17 replies
CC#
Created by mitchelldirt on 9/8/2023 in #help
βœ… C# Graph API Client
Yes, but I could only do it with my account permissions (which worked). The problem is that the application permission isn't working 😦
17 replies
CC#
Created by mitchelldirt on 9/1/2023 in #help
βœ… How to use secret manager asp.net
Oh my goodness. Not sure why I couldn't find this anywhere, but I ended up using
var config = new ConfigurationBuilder().AddUserSecrets<Program>().Build();
var config = new ConfigurationBuilder().AddUserSecrets<Program>().Build();
This allowed me to grab config secrets by doing config["key"]
2 replies