Get file name and folder path in power automate

Split file name and folder path in Power Automate

In this article we are going to how to get folder path and file name in separate variables.

While we are working with document library we need to validate the folder path or file names in that case we need to get the data in a variable.

Initialize a variable  and use compose actions to split the folder path and file name as pe the below screen shot.



Varpath /documents/_abcfolder/xyzfolder/abcsample1.xlsx

Filename expression : last(split(variables('varpath'),'/'))

Folder Path expression : first(split(variables('varpath'),outputs('filename')))


Hope this will helps.

 

Show Drop Down Values based on another list column in Power Apps

How to populate drop down values from SharePoint lookup lists.

In this article we are going to see, how to show drop down values to book  interview slot based on available date and time in power apps.

In our requirements dates and time are static , we are maintain those values in SharePoint lists. 

Created 3 lists.

Book Date :


Book Time:




Book Slot:




Connected 3 lists and added Edit form and connected Book Slot , Changed the Default form mode to New

Unlock the properties , To filter the Book Date drop down only based on Is Available  = Yes as per the below.




ShowColumns(RenameColumns(Filter(BookDate,IsAvailable.Value="Yes"),"Title","Value","ID","id"),"id","Value")


To Filter the Book Time values drop , based on condition  Is Available  = Yes and Date selected  from previous drop down value




ShowColumns(RenameColumns(Filter(BookTime,Date.Value = DataCardValue7.Selected.Value And IsAvailable.Value = "Yes"),"Title","Value","ID","Id"),"Id","Value")


Output will  come as per the below screen shot.





cannot be loaded because running scripts is disabled on this system

cannot be loaded because running scripts is disabled on this system.


When we are trying to run the script from Power Shell ISE , we got this error message as per the below screen shot


Issue Description:

File C:\Users\Raavi\Documents\CreateFolders.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see

about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.

    + CategoryInfo          : SecurityError: (:) [], ParentContainsErrorRecordException

    + FullyQualifiedErrorId : UnauthorizedAccess


Solution : This issue will happened when running script is disabled in our machine , to run the script 

Opened PowerShell ISE and ran this command 

Get-ExecutionPolicy

we can see the status as per the below 



Run this command this will allow us to run the scripts 

set-ExecutionPolicy RemoteSigned -Scope CurrentUser

After clicking on Yes  ,  we can again check the status Get-ExecutionPolicy



Now we are getting status as RemoteSigned , able to run scripts successfully.

Hope this will helps!!  

OneDrive interview questions

OneDrive interview question and answers  are very important , this will be very helpful who are preparing for OneDrive for business interview.

OneDrive Interview questions





1)How many ways we can access users OneDrive?

 

a)From Admin centre

b)SharePoint User profile

c)using PowerShell

 

2) When should I use OneDrive for business instead of SharePoint or Teams?

 

All are cloud-based storage, we can say in simple terms OneDrive is your own personal site , we can storage office documents , images   which you don’t want to share with your organization  or team members ,  Example : you are working an document in draft stage or not yet ready to share with others in that case we can use OneDrive ..

Using OneDrive sync client, we can use it as local hard drive  .. we can modify and edit all the files from local machine or laptop very easily, you can login with you account and access as these files from any device ...

 

3)What is OneDrive for business and OneDrive for Personal?

Both represents the same name 

OneDrive personal: it is used to sync and store your personal files share it with family and friends, we will get it for free with Microsoft account ... outlook or Hotmail

We will get 5GB of free space by default, we can extend if required with cost.

It provides personal vault to store important documents with two step verification

 

OneDrive for Business: we can share your Files, Documents and collaborate with your origination team members or with external users.

This is managed by your organization.

It is having 1 TB of storage for most of subscriptions, we can also extend up to 5TB.

Most secure, reporting and auditing options available.

 

4)Different type of sync issues?

Storage is full
OneDrive is in read only mode
File length is too long
Having Special characters
RESET your onedrive

 

5)How to remove special characters in OneDrive documents?

Using PowerShell

 

6)How to recover deleted files from OneDrive?

We can recover the deleted files from OneDrive recycle bin ,  within  93 days

 

7)What is the default storge limit for OneDrive?

Default storage is 1 TB for most of the subscription plans, we can increase the storage space up to 5 TB

 

8)What are the special characters OneDrive won’t allow?

" * : < > ? / \ |

9)What is file on demand?

OneDrive File on demand, will helps you access all your files in OneDrive without using storage on your device.



10) How to get the OneDrive usage for all users?

Using PowerShell

#Output location

$CSVFile = "D:\OneDrives.csv"

#Connect to SharePoint Online Admin Center

Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com"

#All OneDrive Sites usage details and export to CSV

Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '-my.sharepoint.com/personal/'" | Select URL, Owner, StorageQuota, StorageUsageCurrent, LastContentModifiedDate | Export-Csv -Path $CSVFile -NoTypeInformation

 

SharePoint Online Admin Inteview Questions

SharePoint Interview Questions  , In this article we can see what are all the questions recently asked in the interview on SharePoint . 

Prepare all these SharePoint Online Interview Questions , most of the company's are asking these questions.

SharePoint Interview Questions - Part 1

SharePoint Interview Questions - Part 2

 1)What Is hub site?


2)Difference between authentication and authorization ?


3)How you will restore deleted site collection?


4)While accessing the SPO site/page you will get Correlation ID , how you will find error in  ULS Logs ?



5)Is it possible to rename the SPO site collection URL?


6)Users are not able to access spo site? How you will trouble shoot ?


7)Types of admin roles ?


8)External user is not able to access SPO site how you will trouble shoot ?


9)How you will increase site collection quota?


10)how users will sync from On Prem AD to azure AD?

create modern team site without Microsoft 365 group

In this article we can see how to create modern team site without Microsoft 365 group

When we create a Modern team site automatically site is connected with Microsoft 365 group, this will help to create M365 group to manage access to our site, Shared outlook, Shared calendar, One Note book, planner etc.

 Few end-users are not using M365 groups concept, to create unnecessary groups in our tenant, we will go with Modern teams’ site without Microsoft 365 group.

 Let’s see how to create a Modern team site without Microsoft 365 group.



 Open SharePoint admin center 

https://tenant-admin.sharepoint.com

Click on Sites-> Active Sites -> Create -> Other Options 

 


 It will select default template as Team site

Enter the site name and URL if you want modify click on Edit.

Provide primary administrator.

Select language and change if required.

 


Click on Finish.

 Now we can see a modern team site was created without Microsoft 365 group.

 

SharePoint online interview question and answers

SharePoint online interview question and answers  are very important for interview point of view .Please prepare all these SharePoint interview questions before attending interview.

 SharePoint interview Questions

1) What is Microsoft 365?

2) What is the Max no of sub sites we can create under each site collection ?
 
3) What are the different types of service applications available in SPO?

4) Can you please list down the site templates available  in SPO?

5)How you will enable scripting ?
 

 

6) Can we hide default “Title” column in list?

7)User having full control but still not able to access SPO site?

8) How you will increase list view threshold limit in  SPO ?

9)how you will deploy app at site collection level?

10)Can you list down the PowerShell commands that used frequently ? 

SharePoint Interview questions are faced recently in the interviews


SharePoint online interview questions

In this article we are going to discuss about SharePointonline interview questions.

Before attending SharePoint interview ,  kindly read this SharePoint question and prepare well, all these are real time SharePoint online interview questions.  We will cover basic SharePoint interview questions and answers to advanced SharePoint interview questions.


https://www.dotnetsharepoint.com/2022/02/sharepoint-online-interview-questions.html


1) What is the process you follow to create a new site in SharePoint online?


2) What is the Maximum storage limit for each site collection in SharePoint online?

3) What is the different type of licenses we are having in Office 365?

4)What is the difference between Modern team sites and communication sites?

5)Difference between Contribute and Edit Permissions?

6) List down the webparts available in modern sites?

7)What is the difference between SharePoint Onprem and SharePoint online?

8) With in how many days we can recover the deleted items from the recycle bin?

9)How good you are in PowerShell scripting, did you worked  on any automations?

10)How you will enable external sharing?

Hope all these SharePoint online admin questions will be helpful to clear the interview.


Labels

.Net Interview Questions add custom button in sharepoint using javascript Add custom column property into a PageLayout in SharePoint Add Page Title on their browser's title bar in SharePoint Customly add zip files in blogger Add-SPOSiteCollectionAppCatalog : Must have Manage Web Site permissions or be a tenant admin in order to add or remove sites from the site collection app catalog allow list Advance SmartObject An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL. Angular 2 Angular JS Angularjs Angularjs 1 anonymous users accessing lists and libraries App Permissions for SharePoint 2013 asp.net membership unique email Asp.net TreeView Control asp.net. Attendees in SharePoint Auto refresh list using Content Editor WebPart in SharePoint 2013. Auto Refresh SharePoint list using JavaScript Block and unblock of attachment types in SharePoint Blogger C# Callouts in SharePoint 2013 Cascading Dropdown list in SharePoint change onenote to another location. change SuiteBarLeft in SharePoint 2013 check if userid exists in database c# click node text to expand/collapse in Treeview client object model Close webpart CQWP crate chart using BI site in PPS Create a modern team site collection in SharePoint online Create BI chart in PPS SharePoint 2013 create filter in dashboard designer. create kpi's in dashboard designer create kpi's in SharePoint 2013 dashboard designer Create List Create List In SharePoint Create List using Power Shell Script Create Lookup Field in List using Power Shell Script Create lookup field in List create SharePoint List custom view. create SharePoint List views in List Schema create site collection in site collection in SharePoint using powershell created Date Time calculated field in SharePoint Cross site Collection in SharePoint 2013 Crud Operation in Asp.net Using Stored Procedure Custom MasterPage Approval in SharePoint custom view for survey list Customly add SharePoint List view in Page. delete items in sharepoint using powershell Difference between Angular 1.x & Angular 2 difference between Office 365 and Windows Azure difference between Windows Azure and Office 365 in sharepoint? DifferenceBetween discussion board Display Data in Grid View display radio buttons and choice fields horizontally in SharePoint 2013 Document library DotNet Drag and drop documents in document library in SharePoint dynamically populating values from one list to another list using jquery in sharepoint edit and delete buttons in datagridview Edit Links email notification using Nintex enable anonymous access in SharePoint 2013 enable app catalog sharepoint online site collection powershell Enable appcatalog site collection level using PowerShell based on Input file Enable versions for list and library except the hidden lists using PowerShell Script Error occurred in deployment step 'Recycle IIS Application Pool': Cannot resolve model for the project package Errors&Solutions Export document library in sharepoint using powershell Export particular Group in Term Store Management in SharePoint 2013 Export to Excel first release Flow Flow features free disk space on servers using powershell Friendly URLs and Managed Navigation in SharePoint 2013 get a list of site collection with template in web application using PowerShell Script in SharePoint Get attachments in SharePoint custom list using c# get current list item id sharepoint programmatically Get current url using jquery Get data from SharePoint list using Rest api & Angular JS Get Random Get Random SharePoint items using PowerShell Get Random values from SharePoint list using PowerShell Get url of the last value using jquery Get-SPOSite : The managed path sites/yoursitename is not a managed path in this tenant. Getting Email From User Hide “Edit Links” in left navigation SharePoint 2013 hide button in sharepoint based on permissions Hide column in SharePoint List view hide fields using client side object model Hide list in Quick Launch in SharePoint using PowerShell How to add Custom Tiles to SharePoint site Page. How to add extension files in Search Navigation in SharePoint 2013 How to Add Multiple users Using SharePoint People Picker How to add SharePoint list view in Page using C# How to Approve MasterPage using PowerShell in SharePoint How to bind Multiple users Using SharePoint People Picker how to change indicators on kpi performance how to check if an email address already exists in the database in asp.net how to configure workflow manager platform for SharePoint 2013 how to create calculated value using powershell how to create certificate in SharePoint How to create flow. how to create gantt chart webpart in sharepoint how to create KPI indicators in Dashboard designer How to create moden communication site in SharePoint online How to create Multi selected filter in Dashboard How to create nintex workflow in sharepoint how to create rdlc reports in asp.net How to Display Data Grid View in ASP.net How to enable anonymous access in SharePoint How to find data in datagridview in c# How to get image names from the folder using C# how to get particular list content type id in SharePoint 2013 How to get QueryString value in SharePoint WebPart Programatically how to get the current item id for newly created item using REST API and JQuery how to hide list in sharepoint how to know who created list in sharepoint How to make a Site Collection Read-Only in SharePoint 2010 How to overlay Office 365 shared calendar on SharePoint Site how to pass jquery value to asp.net textbox control How to pass pagename as a browser's title bar in the page how to remove unused Application Pool in SharePoint how to remove zone using powershell script How to send mail to particular group of people using PowerShell how to update modified by and created by using powershell how to uplaod RAR files in blogger import csv data into sharepoint import data using powershell Import group to term store management using SharePoint 2013. InfoPath InfoPath Cascading Dropdown list Insert update delete in datagridview in C# winforms Integration from SharePoint to k2. K2 Smart Forms for SharePoint JavaScript Injection jquery JSON K2 blackpearl K2 Designer K2 Designer Workflow. K2 smartform cascading dropdown list k2 Workflow K2 workflow to send a mail with PDF left navigation Local Term Set in managed meta data Managed meta data navigation in SharePoint 2013 Managed metadata service in SharePoint 2013. Managed Navigation in SharePoint 2013. Managed Promoted Sites. meta data navigation Microsoft Flow New Features New-SPConfigurationDatabase The user does not exist or is not unique NintexWorkFlow Office 365 OneDrive OneNote overwrite existing document in sharepoint using javascript PDF Converter PDF Method in K2 Performance Point Service in SharePoint 2013 PerformancePoint Services Configurtion PerformancePoint Services Configurtion for SharePoint 2013 PerformancePoint Services in SharePoint Server 2013 Popularity trends in SharePoint 2013 Pages populate dropdown list dynamicallyusing jquery Power Power Automate Power Shell Power shell script to get SharePoint site size. PowerApps powershell read xml PowerShell Script PowerShell script to get list of users from SharePoint groups PowerShell Scripts in SharePoint 2013 Powershell to set the masterpage in SharePoint Promoted Links Promoted Sites psconfig.exe quick launch Rdlc reports Readonly Column in SharePoint Editview Realtime DotNet Interview Questions Recent Dotnet interview questions Recent SharePoint interview questions recover deleted OneNote page. OneNote content is missing Regional Settings in SharePoint 2013 Replace New Item text in SharePoint Rest API Schedule PowerShell Script Search in SharePoint 2013 Search navigation in SharePoint 2013 Secure store service SecureStore Services SecureStore Services configuration for SharePoint 2013 self-signed certificate on IIS Server Send email to members of SharePoint Group using PowerShell sharepint2010 sharepoin2010 SharePoint 2013 SharePoint 2010 SharePoint 2013 SharePoint 2013 Dashboard Designer SharePoint 2013 features SharePoint 2013 Interview Questions SharePoint 2013. SharePoint 2013.disable views from user to create SharePoint 2013.Power shell SharePoint 2013.SharePoint 2010 SharePoint 2016 SharePoint Administration SharePoint Alerts and Reminders SharePoint App Configuration SharePoint Apps SharePoint Bulk upload SharePoint Calculated field SharePoint Calendar View sharepoint interview questions SharePoint online interview questions SharePoint online training SharePoint Onprem vs Online SharePoint RealTime Online Training SharePoint2010 SharePoint2013 SharePoint2016 SharePointInterview SharePointOnline SharePointOnline;Restore deleted site;SharePoint 2013 show data in datagridview in C# Simple Insert update Delete Retrieve Clear in asp.net. Site Collection Operations in SharePoint 2013 Site Collection Read-Only in SharePoint 2013 site contents Sorting & Filtering SPO SPSite Site Collection Operation parameters in SharePoint 2013 Step by step to create rdlc report in .Net Store names in text files in C# Sub site Subsite Term store management. The server was unable to save the form at this time. please try again UI New look update created by using client side object model update field values in SharePoint using powershell update items in SharePoint list using client object model update modified by field using client side object model upload zip files in blog use IsNullOrEmpty in PowerShell VirtoSoftware VirtoSofware vitrosoftware WebParts what is Document Set in SharePoint 2010 What is Filter in SharePoint Dashboard what is Limited-access user permission lock down mode feature What is Modern Team site What is Target Audience in SharePoint Who Created Site Using PowerShell Workflow in SharePoint 2013 Workflow management platform in SharePoint 2013 Workflow manager for SharePoint 2013 XSL-Template.