Wakefield Cathedral has had to move a service of thanksgiving for the Duke of Edinburgh online after concerns from local police.
Bosses at the cathedral were told that the gathering would have fallen foul of the coronavirus restrictions.
While worship services with reduced capacities for social distancing are permitted in England - services for life events such as weddings and funerals are still limited by specific numbers.
Wakefield Cathedral had hoped to host the thanksgiving service in the building on the eve of Prince Philip's funeral at St George's Chapel in Windsor.
Premier has been told that following revised guidelines the service will now be livestreamed with just 15 civic guests present.
In details of the event online, the Very Rev Simon Cowling, Dean of Wakefield said: "The death of His Royal Highness Prince Philip the Duke of Edinburgh brings to a close a life of exemplary service to our nation and to the Commonwealth.
"As we give thanks to God for a life well-lived, we offer Her Majesty the Queen and all members of the Royal Family our deepest condolences and assurance of prayer.
"May Prince Philip rest in peace and rise in glory."
In a statement to Premier, West Yorkshire Police said: "We are not aware that West Yorkshire Police has been in direct contact with places of worship although national guidance has been provided, via local resilience forums."