Login to SharePoint online and follow the below steps: –
Step 1 – Click on create site option as highlighted.
Step 2 – Select the Communication site option.
Step 3 – Fill in the site name and click on the FINISH button.
Step 4 – Select the site, go to the Documents section, and click on the upload option to upload the folder.
Step 5 – Click on the ellipses button and click on the “Manage Access” option.
Step 6 – “Manage Access” pop-up will appear where we have to Grant access to “email@example.com” for the folder by clicking on add button as highlighted.
Step 7 – After selecting the user “Grant Access” pop will appear, where we can Grant Access to the user.