If the "creation date" of the file in they Windows system matches the date when the photo was taken, it is quite simple. You need to use Get files in folder to get all of your photos, then use a For each loop on the %Files% generated by the previous action. The loop will generate a %CurrentItem% on each iteration, which will hold the current file with its metadata. You can then use %CurrentItem.CreationTime% as a date time value and use Convert date time to text to convert the value to a year value using YYYY as the custom format and get the name of the month (localized according to the language of your system) by using MMMM as the custom format. You can then use If folder exists on each of those values and Create folder if it doesn't exist.
Finally, use Move file(s) to move the %CurrentItem% to the folder you have just created (or the path to the folder, if it already exists).
When it's done looping, your files will be organized appropriately.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.